Deleting a user from LDAP will orphan Project Roles and they cannot be deleted

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 4.4.5, 5.1.8
    • Component/s: None
    • 4.04

      Summary:

      When a user is deleted from LDAP, it will orphan projectroleactor records that will be unable to be deleted through the GUI as an error is generated.

      Steps to Reproduce:

      1. Add a user to LDAP.
      2. Setup a LDAP User Directory in JIRA.
      3. Add that user to a Project Role.
      4. Delete the user from LDAP.
      5. Force an LDAP synchronisation.
      6. Attempt to remove the user from the Project Role - the attached error will be generated.

      Expected Results:

      The user is deleted from the project role when it is deleted from JIRA.

      Actual Results:

      The user is not, and the project role is then orphaned.

      Regression:

      Haven't tested earlier than 4.4.5.

      Notes:

      Deleting an internal user will remove the project role - refer to the linked issue for more information.

        1. User not deleted.png
          User not deleted.png
          61 kB
        2. Unable to delete.png
          Unable to delete.png
          64 kB

              Assignee:
              Unassigned
              Reporter:
              Dave C
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: