jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-323) import/export does not work on the root node.
Date Mon, 24 Apr 2006 12:22:06 GMT
     [ 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:
For more information on JIRA, see:

View raw message