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

Exception caught signalling deletion of edge when removing a relationship

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      2019.10 - IDM
    • Support Ticket IDs:

      Description

      Steps to reproduce (In Admin UI)- 

      1) Create managed objects A and B

      2) Create bidirectional relation from object A to B so, that

      • A->B has many
      • B->A has one

      3) Add notify property to the object A in the managed.json

      4) Add an object A and add an object B

      5) From the object A add relation to B (observe no error in console).

      6) From the object A delete relation to B. By this step this error happens.

      -> [176] Mar 21, 2019 12:22:07.589 PM org.forgerock.openidm.relationship.impl.notify.EdgeToVertexNotifierBase lambda$dispatchEdgeDeletionAction$2
      WARNING: Exception caught signalling deletion of edge { "_ref": "managed/user/390b17f7-d05e-435e-b3d9-3d54cda78995", "_refResourceCollection": "managed/user", "_refResourceId": "390b17f7-d05e-435e-b3d9-3d54cda78995", "_refProperties": { "_id": "280c18eb-4631-4232-9d0e-7c30072d7d93", "_rev": "0000000005c499ee" } } to referenced vertex managed/human/human.
      org.forgerock.json.resource.NotFoundException: Not Found
      	at org.forgerock.openidm.relationship.EdgeSingletonInternals.findRelationshipForResourceRepoFormat(EdgeSingletonInternals.java:102)
      	at org.forgerock.openidm.relationship.EdgeSingletonInternals.findRelationshipForResource(EdgeSingletonInternals.java:146)
      	at org.forgerock.openidm.relationship.EdgeSingletonInternals.lambda$readEdgeContainerState$1(EdgeSingletonInternals.java:70)
      	at org.forgerock.openidm.metrics.MetricsCollector.time(MetricsCollector.java:112)
      	at org.forgerock.openidm.relationship.EdgeSingletonInternals.readEdgeContainerState(EdgeSingletonInternals.java:69)
      	at org.forgerock.openidm.relationship.EdgeSingletonHandler.readEdgeContainerState(EdgeSingletonHandler.java:44)
      	at org.forgerock.openidm.managed.EdgeToVertexActionHandler.readAffectedEdges(EdgeToVertexActionHandler.java:255)
      	at org.forgerock.openidm.managed.EdgeToVertexActionHandler.lambda$relationshipDeleted$1(EdgeToVertexActionHandler.java:146)
      	at org.forgerock.openidm.metrics.MetricsCollector.time(MetricsCollector.java:83)
      	at org.forgerock.openidm.metrics.MetricsCollector.time(MetricsCollector.java:98)
      

        Attachments

        1. Exception.txt
          19 kB
        2. managed.json
          55 kB
        3. managed.json
          56 kB

          Activity

            People

            • Assignee:
              dhogan Dirk Hogan
              Reporter:
              becky.maund Becky Maund
              QA Assignee:
              Petr Bednar [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: