[ 
https://issues.apache.org/jira/browse/OAK-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683030#comment-15683030
 ] 

Marcel Reutegger commented on OAK-3328:
---------------------------------------

Yes, this is the right place for the change. Have a look at 
VersionableState.getOPV(). There are two variants, one for child nodes and one 
for properties. It uses a ReadOnlyNodeTypeManager to get the flag. I'd say 
something similar should work for the VersionEditor as well.

> checked-in state should only affect properties with OPV!=IGNORE
> ---------------------------------------------------------------
>
>                 Key: OAK-3328
>                 URL: https://issues.apache.org/jira/browse/OAK-3328
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Julian Reschke
>
> We currently (as of OAK-3310) protect all properties from changes when the 
> node is checked-in. According to the spec 
> (http://www.day.com/specs/jcr/2.0/15_Versioning.html#15.2.2%20Read-Only%20on%20Check-In),
>  this should only be the case when on-parent-version is != "IGNORE".
> (It seems this doesn't have TCK coverage)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to