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

Double update propagation with virtual attributes on already associated resource when changing password and adding new resource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.2
    • 1.1.3, 1.2.0-M1
    • core
    • None

    Description

      steps (run Syncope with -Pdev profile):
      1. modify resource-csv mapping external attribute mail with virtual attribute virtualdata (assign BOTH
      purpose to the attribute, it may also work with SYNCHRONIZATION).
      2. create a new user with all required (for csv) fields set to value (username, surname, mail, type, ecc), in
      particular add derived attributes csvuserid and cn and virtual attribute virtualdata
      3. add to user resource-csv as resource, save and open it in edit mode.
      4. add new resource to user, ws-target-resource-2, edit virtual attribute virtualdata.
      5. edit password and check the checkbox to change password also on Syncope (don't check all resouces, csv must not be checked), checkbox for ws-target-resource-2 is already set. Save user
      It will be noticed a double propagation of user on both resources due to method fillVirtual() in PropagationManager.java

      Attachments

        1. SYNCOPE-397.patch
          12 kB
          Andrea Patricelli

        Activity

          People

            fmartelli Fabio Martelli
            andrea.patricelli Andrea Patricelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: