Sharmadha Sainath created ATLAS-1729:
----------------------------------------

             Summary: Atlas is not allowing deletion of type with no ACTIVE 
instances and no other types that refer this type.
                 Key: ATLAS-1729
                 URL: https://issues.apache.org/jira/browse/ATLAS-1729
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.8-incubating, 0.9-incubating
            Reporter: Sharmadha Sainath


1. Created a type 
2. Created entity for the type.
3. Tried to delete the type using
{code}
 /api/atlas/v2/types/typedefs
{code}
which failed with 409 Conflict
{code}
{"errorCode":"ATLAS-409-00-002","errorMessage":"Given type testType has 
references"}
{code}
4.Deleted the entity created for the type . status of the entity is DELETED.
5. Issued the same delete request 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to