[
https://issues.apache.org/jira/browse/ATLAS-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373180#comment-15373180
]
Satish Duggana commented on ATLAS-1012:
---------------------------------------
Those method names or javadocs do not say about that contract. It may be good
to add that.
> DefaultMetadataService#getEntityDefinition(String guid) returns a deleted
> instance with SoftDeleteHandler
> ---------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-1012
> URL: https://issues.apache.org/jira/browse/ATLAS-1012
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.8-incubating
> Reporter: Satish Duggana
> Fix For: 0.8-incubating
>
>
> `DefaultMetadataService#getEntityDefinition(String guid)` returns a deleted
> instance when atlas.DeleteHandler.impl is configured with
> `org.apache.atlas.repository.graph.SoftDeleteHandler`
> Main reason seems to be about not checking for a valid state of the instance
> before it is returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)