[
https://issues.apache.org/jira/browse/SLING-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598605#comment-13598605
]
Felix Meschberger commented on SLING-2781:
------------------------------------------
I am not sure, we should go down this route: Because you would also have to
consider "updating" the resource metadata, which is also currently locked at
resource object creation time.
In fact, the node underlying the JcrNodeResource might not even "see" updates
to its properties after having been retrieved from the repository - it just so
happens in the current Jackrabbit 2 implementation.
> JcrNodeResource is caching resource type
> ----------------------------------------
>
> Key: SLING-2781
> URL: https://issues.apache.org/jira/browse/SLING-2781
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 2.2.4
> Reporter: Carsten Ziegeler
> Fix For: JCR Resource 2.2.6
>
>
> The JcrNodeResource caches the resource type, it gets the value in the
> constructor. If the resource type is changed, for example by setting the
> sling:resourceType property, the resource object is not updated.
--
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