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

When a mapping is deleted through the Admin UI, links associated with the mapping are not deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.5.0, OpenIDM 5.0.0
    • Fix Version/s: OpenIDM 5.0.0
    • Component/s: Module - Web UI
    • Environment:
      IDM 4.5.0 RC2 runs on a CentOS with MySQL as repo, Java 7, client access admin UI using Chrome.

      Description

      When a mapping is created, used to recon users from data source to destination, then deleted from admin UI, links associated with the mapping are not deleted. This would prevent a clean restart if a user happen to run into some issues.

      To reproduce:
      1. Start openidm.
      2. Create a connector(used an AD LDAP connector).
      3. Create a mapping between AD and managed, added policies and changed default action settings to create/update users according to situations.
      4. recon from AD to managed, users created in managed, links created.

      curl --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin"  --request GET http://10.0.32.28:8080/openidm/repo/link?_queryId=query-all-ids |python -mjson.tool
      
      returned:
      {
          "pagedResultsCookie": null,
          "remainingPagedResults": -1,
          "result": [
              {
                  "_id": "fcc83eba-5103-4aad-90d0-04c41a796096"
              },
           ...
          {
                  "_id": "e0beb16f-161b-476d-89c3-d2661e733c7d"
              }
          ],
          "resultCount": 89,
          "totalPagedResults": -1,
          "totalPagedResultsPolicy": "NONE"
      }
      

      5. Delete the mapping from UI and run the command above again.
      observed: The command returned the same results, links are not deleted.

      BTW, UI had a pop-up warning user that the action can't be reverted when deleting the mapping, see screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                huck.elliott huck.elliott
                Reporter:
                Tinghua.Xu Tinghua.Xu
                QA Assignee:
                Tinghua.Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: