Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-13798

Error when deleting user with that user as own direct report

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Module - Relationships
    • Labels:
    • Environment:
      OpenIDM version "7.0.0-SNAPSHOT" (build: 20190830164749, revision: ad68dff) jenkins-OpenIDM-build-master-1336
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2

      Description

      Cloned from OPENIDM-13735:

      As openidm-admin, create Direct Report for the same user:

      Steps to reproduce:

      1. Run IDM and create user eg: 'user2'
      2. run this curl:
        curl -X POST \
          'http://idm.example.com:8080/openidm/managed/user/user2/reports?_action=create' \
          -H 'Content-Type: application/json' \
          -H 'X-OpenIDM-Password: openidm-admin' \
          -H 'X-OpenIDM-Username: openidm-admin' \
          -d '{
        	"_ref":"managed/user/user2"
        }'
        
      3. The delete the user

      Expected result: The user (and the edge from user2 to user2) should be deleted with 200
      Actual result: The user is removed however error message appears: 'Error not found' appears in the UI

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brmiller Brendan Miller
                Reporter:
                alexander.dracka Alexander Dracka
                QA Assignee:
                Alexander Dracka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: