Cayenne
  1. Cayenne
  2. CAY-321

cross-DataMap ObjRelationship loses DbRelationships on load

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2 branch
    • Fix Version/s: None
    • Component/s: Modeler
    • Labels:
      None

      Description

      cross-DataMap ObjRelationship loses (or fails to create) DbRelationships on project load.

      If you create an ObjRelationship between two DataMaps in the same node, then reload the model, objRelationship.dbRelationships is null as is dbRelationshipsRef's contents.

      When the relationship is created (or recreated with "Sync with DBEntity"), dbRelationships and dbRelationshipsRef are both populated.

      In both cases, dbRelationshipPath is null, which doesn't appear to be the case for other items and may be related.

      This causes objRelationship validation to fail with "ObjectRelationship <Rank.role> has no DbRelationship mapping." I don't know if there are any other side effects since I don't know how a "correct" ObjRelationship behaves in this situation.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Mike Kienenberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development