Search the web
Sign In
New User? Sign Up
jcr-crx
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Possible bug in workspace.copy method?   Message List  
Reply | Forward Message #711 of 782 |
I'm duplicating nodes in our JCR using workspace.copy(workspace, srcPath,
destPath) and am experiencing strange behaviour.

This succeeds as expected:

srcPath = /templates/pcf:PCF/pcf:Service/pcf:Scene
destPath = /templates/pcf:PCF/pcf:Service/pcf:Scene

This succeeds (no exception is thrown), but puts the copy in the wrong place:

srcPath = /templates/pcf:PCF[2]/pcf:Service/pcf:Scene
destPath = /templates/pcf:PCF[2]/pcf:Service/pcf:Scene

The copy is actually placed at /templates and renamed to pcf:PCF[3]

Any ideas what is going on?

Paul.




Thu Jun 18, 2009 1:55 pm

paul_bowler
Offline Offline
Send Email Send Email

Forward
Message #711 of 782 |
Expand Messages Author Sort by Date

I'm duplicating nodes in our JCR using workspace.copy(workspace, srcPath, destPath) and am experiencing strange behaviour. This succeeds as expected: srcPath =...
paul_bowler
Offline Send Email
Jun 18, 2009
2:05 pm

... This could be a bug in Jackrabbit. Please consult the Jackrabbit users or dev mailing list (http://jackrabbit.apache.org/mailing-lists.html) and maybe...
alexander.klimetschek
alexander.kl...
Offline Send Email
Jun 18, 2009
4:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help