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

Atlas is not allowing deletion of type with no ACTIVE instances and no other types that refer this type.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 0.8-incubating, 1.0.0
    • None
    • atlas-core
    • None

    Description

      1. Created a type
      2. Created entity for the type.
      3. Tried to delete the type using

       /api/atlas/v2/types/typedefs
      

      which failed with 409 Conflict

      {"errorCode":"ATLAS-409-00-002","errorMessage":"Given type testType has references"}
      

      4.Deleted the entity created for the type . status of the entity is DELETED.
      5. Issued the same delete request for the type again . Even though there are no ACTIVE instances for the type and no other type has reference to this type, type deletion is failing with the same exception.

      This might cause issues when user wants to delete the type and recreate type with same name.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: