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

Jukka Zitting commented on OAK-782:
-----------------------------------

I committed a tentative fix in revision 1469277. The problem seems to be that 
since setNode() decouples the base state of the builder instance from that of 
the MutableNodeState one, we shouldn't be using the builder base state to 
initialize the MutableNodeState base. I change the code to use the base of the 
parent writeState instead.
                
> MemoryNodeBuilder.setNode() loses property values 
> --------------------------------------------------
>
>                 Key: OAK-782
>                 URL: https://issues.apache.org/jira/browse/OAK-782
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>
> {code}
> builder.setNode("a", nodeA);
> builder.child("a").setProperty(...);
> {code}
> After the 2nd line executed, properties initially present on {{nodeA}} are 
> gone on {{builder.getNodeState()}}.

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

Reply via email to