[
https://issues.apache.org/jira/browse/OAK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435224#comment-13435224
]
Michael Dürig commented on OAK-218:
-----------------------------------
On a related note, I don't think it's worth inheriting from {{AbstractSession}}
any more. Virtually all default implementations are overridden without using
the super method. Only exporting/importing is still used from
{{AbstractSession}} but I think we better delegate this functionality to
respective manager classes.
> Session methods rely on accessibility of root node
> --------------------------------------------------
>
> Key: OAK-218
> URL: https://issues.apache.org/jira/browse/OAK-218
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
>
> the current implementation of Session methods access items rely on the
> accessibility of the root which isn't something we can rely on.
> the affected methods are
> - Session#itemExists
> - Session#propertyExists
> - Session#nodeExists
> - Session#getItem
> - Session#getProperty
> - Session#getNode
> right now they are all inherited from the implementation in AbstractSession.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira