Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-426

UserService#update and RoleService#update require entity id to be specified twice

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.5, 1.2.0-M1
    • Component/s: None
    • Labels:

      Description

      As recently reported in mailing list [1], updating an user requires to pass its id both as path parameter and embedded in the provided UserMod.

      While having both parameters (id and UserMod) seems to be unavoidable to adhere to REST best practices, it would be quite easy to allow an empty id in UserMod.

      Same applies to role update and RoleMod.

      [1] http://markmail.org/message/zgh27isscw3hvwfx

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: