You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thierry Yge (JIRA)" <ji...@apache.org> on 2005/01/26 16:24:17 UTC
[jira] Created: (JCR-40) Node merge method doesnt seems to recurse thru childs of the right source node
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
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
[jira] Closed: (JCR-40) Node merge method doesnt seems to recurse thru childs of the right source node
Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
[ 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
[jira] Assigned: (JCR-40) Node merge method doesnt seems to recurse thru childs of the right source node
Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-40?page=history ]
Tobias Strasser reassigned JCR-40:
----------------------------------
Assign To: Tobias Strasser
Versioning operations like restore/merge will soon be implemented and/or adapted to the latest api spec.
> 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