You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2006/04/24 14:22:06 UTC

[jira] Resolved: (JCR-323) import/export does not work on the root node.

     [ http://issues.apache.org/jira/browse/JCR-323?page=all ]
     
Stefan Guggisberg resolved JCR-323:
-----------------------------------

    Resolution: Invalid

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.


> import/export does not work on the root node.
> ---------------------------------------------
>
>          Key: JCR-323
>          URL: http://issues.apache.org/jira/browse/JCR-323
>      Project: Jackrabbit
>         Type: Bug

>   Components: xml
>     Versions: 1.0, 0.9
>     Reporter: Lucas Galfaso

>
> 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

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira