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

Patch/update requests of the _ref field against the relationship endpoint are not handled correctly

    Details

      Description

      Currently, it appears that the _ref field of an edge can be patched/updated by dispatching a patch/update request against the relationship endpoint. This amounts to detaching and re-attaching one end of an edge. So either:

      1. this possibility must be excluded, or
      2. if this possibility is supported, the following actions must be taken:
        1. notify the origin vertex that its edge has been updated,
        2. notify the vertex from which the edge was detached that an edge has been deleted 
        3. notify the newly-connected-to vertex that it has gained an edge.

      If we decide to support this functionality, integration tests must be written. In either case, the feature/limitation must be documented. 

        Attachments

          Activity

            People

            • Assignee:
              dhogan Dirk Hogan
              Reporter:
              dhogan Dirk Hogan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: