You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marco Piovesana (JIRA)" <ji...@apache.org> on 2016/11/21 10:50:58 UTC

[jira] [Issue Comment Deleted] (OAK-3328) checked-in state should only affect properties with OPV!=IGNORE

     [ https://issues.apache.org/jira/browse/OAK-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Piovesana updated OAK-3328:
---------------------------------
    Comment: was deleted

(was: I tried, this is what i did:
{code:java}
Tree parentTree = TreeFactory.createTree(this.parent.node);
Tree nodeTree = TreeFactory.createTree(this.node);
this.vMgr.getNodeTypeManager().getDefinition(parentTree, nodeTree);
{code}

but it fails because the generated _nodeTree_ has an empty value per the field "name". 
If I call _getDefinition_ using the node name (the string instead of the tree) it does work though. How can i get the node name from the _NodeState_ without casting it to _SegmentNodeState_ ?)

> 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)