Michael Dürig created OAK-617:
---------------------------------

             Summary: Generalise Tree.Status.REMOVED to DISCONNECTED
                 Key: OAK-617
                 URL: https://issues.apache.org/jira/browse/OAK-617
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Michael Dürig


I'd like to generalise the {{REMOVED}} status to {{DISCONNECTED}}. Where 
{{REMOVED}} only covers the case where a tree has been removed from its parent. 
The {{DISCONNECTED}} status would in addition cover the case where a tree has 
been disconnected from its parent by other means (i.e. cause by a refresh 
operation). 

Rational:
All callers of {{Tree.getStatus()}} already interpret the {{REMOVED}} status as 
if it had above semantics of {{DISCONNECTED}} and get confused about the 
{{IllegalArgumentException}} being thrown for the case a node is not removed 
but otherwise disconnected. This is btw. also the root cause for the 
observation made in OAK-606. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to