Issue Details (XML | Word | Printable)

Key: JCR-323
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Unassigned
Reporter: Lucas Galfaso
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jackrabbit Content Repository

import/export does not work on the root node.

Created: 21/Feb/06 04:12 AM   Updated: 13/Oct/06 04:13 PM
Return to search
Component/s: xml
Affects Version/s: 0.9, 1.0
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Reference
 

Resolution Date: 24/Apr/06 07:20 PM


 Description  « Hide
importing and exporting the root node does not work. Simple test case

[login]
session.exportSystemView("/", [fileoutputstream], false, false);
[logout]
[login]
session.getWorkspace().importXML("/", [fileinputstream], ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
[logout]

Regards,
  LG

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jukka Zitting made changes - 21/Mar/06 06:20 AM
Field Original Value New Value
Affects Version/s 1.0 [ 12310154 ]
Roy T. Fielding made changes - 26/Mar/06 05:40 AM
Component/s xml [ 11611 ]
Stefan Guggisberg added a comment - 24/Apr/06 07:20 PM
this is not a bug, it's expected behaviour.

the exported tree includes /jcr:system which is protected by definition, i.e. it's. for repository
internal use only. the contents of /jcr:system/* can not be re-imported as the resulting
exception correctly states.

you could e.g. create a root for your application, say '/myapp:root' and export/reimport
that node instead.

Stefan Guggisberg made changes - 24/Apr/06 07:20 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Invalid [ 6 ]
Stefan Guggisberg made changes - 09/Aug/06 09:30 AM
Link This issue is related to JCR-535 [ JCR-535 ]
Jukka Zitting made changes - 13/Oct/06 04:13 PM
Status Resolved [ 5 ] Closed [ 6 ]
Jukka Zitting made changes - 07/Jul/09 01:04 PM
Workflow jira [ 12347294 ] no-reopen-closed, patch-avail [ 12469504 ]