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

Michael Dürig edited comment on OAK-782 at 4/18/13 10:44 AM:
-------------------------------------------------------------

The changes from revision 1469264 (OAK-778) fix the problem as long as 
{{setNode}} receives an instance of {{ModifiedNodeState}}, which has the same 
base state as the {{MutableNodeState}} being resetted. The problem remains 
however otherwise.

At revision 1469271 I committed an updated version of the test demonstrating 
the problem.
                
      was (Author: mduerig):
    The changes from revision 1469264 (OAK-778) fix the problem as long as 
{{setNode}} receives an instance of {{ModifiedNodeState}}. The problem remains 
however for other {{NodeState}} implementations. 

At revision 1469271 I committed an updated version of the test demonstrating 
the problem.
                  
> 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