Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1983

Relationship instance creation does not police cardinality

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      Using a model RelationshipDef that is defines
      {
      "name": "CategoryAnchor",
      "typeVersion": "1.0",

      "endDef1":

      { "name": "categories", "type": "Glossary", "cardinality":"SET", "isContainer":true }

      ,
      "endDef2":

      { "name": "anchor", "type": "GlossaryCategory", "cardinality":"SINGLE" }

      ,
      "relationshipCategory":"COMPOSITION",
      "propagateTags":"NONE"
      },

      • I can create a relationship then add the same GlossayCategory to another glossary. Both edges then exist. There should be only one allowed due to the RelationshipDef cardinality. This should be rejected.

      Attachments

        Issue Links

          Activity

            People

              davidrad David Radley
              davidrad David Radley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: