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

Updating typedef with new supertype should be allowed only if attributes are unique compared to other existing supertypes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 2.3.0
    • 3.0.0, 2.3.0
    • atlas-core
    • None

    Description

      1.Typedef1 with attributes {a,b,c}
      2. Typedef2 with attributes {d} and superType{Typedef1}
      3. We created entities for these and everything is fine until here
      4. Typedef3 with attributes{a,b,c} => Attributes are same as Typedef1
      5. Now we updated Typedef2 with one more supertype as below
          Typedef2 with superType{Typedef1, Typedef3}
      6. All the Typedef2 entities are having {a,b,c} attribute values as null and because of that when user is searching entity of Typedef2 by it's name not returning the result.

      Root cause of the issue is that attributes in Typedef2 from SuperType- Typedef1 be overridden by SuperType-Typedef2 attributes as attribute names are same for Typedef1 & Typedef2

      Updating typedef with new super types should be allowed only if attributes of new supertype are unique and not present in any other existing supertypes.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            radhikak Radhika Kundam
            radhikak Radhika Kundam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment