Adapting Node based Resource to PersistableValueMap throws
java.security.AccessControlException
-----------------------------------------------------------------------------------------------
Key: SLING-772
URL: https://issues.apache.org/jira/browse/SLING-772
Project: Sling
Issue Type: Bug
Components: JCR Resource
Affects Versions: JCR Resource 2.0.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: JCR Resource 2.0.4
Trying to adapt a JCR Node-based Resource to a PersistableValueMap includes
checking for permission to "set_property" on the given node. This check may
throw a JCR RepositoryException or a java.security.AccessControlException (if
permission is denied). The first exception is caught to not return a map in
this case. The second exception should also be caught to prevent it from being
forwarded -- instead null is also expected to be returned here.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.