Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6455

Sequence is used to generate name but adds the value to "unusedValues"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2
    • Component/s: Model
    • Labels:
    • Environment:

      Git describe: v4.1devel-1398-ga0603ceba6

    • Subscription:
      Active subscription

      Description

      A sequence is configured in object template to generate a users "name" attribute value. We create a new user together with an assignment of a Role with account creation. This fails at the stage of creating the account.

      The outcome is that the user object is created with the generated name from the sequence yet the generated value is added to the "unusedValues" sequence list.

       

      After we try to create a new user which should not experience any issues we have a conflict with the "name" value already being assigned .

       

      The resource issue: 

      • The resource is an Active Directory, the issue is that the OU branch in which the user should reside is not present in the Active Directory yet.

        Attachments

          Activity

            People

            Assignee:
            mmacik Matus Macik
            Reporter:
            mmacik Matus Macik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: