You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2005/03/16 22:43:21 UTC
[jira] Closed: (JCR-40) Node merge method doesnt seems to recurse thru childs of the right source node
[ http://issues.apache.org/jira/browse/JCR-40?page=history ]
Tobias Strasser closed JCR-40:
------------------------------
Resolution: Fixed
fixed in r157809
> Node merge method doesnt seems to recurse thru childs of the right source node
> ------------------------------------------------------------------------------
>
> Key: JCR-40
> URL: http://issues.apache.org/jira/browse/JCR-40
> Project: Jackrabbit
> Type: Bug
> Components: API
> Environment: windows xp, java 1.4.2_06, jackrabbit update revision 126200
> Reporter: Thierry Yge
> Assignee: Tobias Strasser
>
> I checked the NodeImpl.merge(...)
> it seems the way it process the childs nodes is wrong
> as it calls the merge on the childs of the src node that come from the source workspace.
> plus in the case srcNode is null it would end on a NullPointerException as
> it does NodeIterator ni = srcNode.getNodes(); in the second statment of the if condition
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira