Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 89997 invoked from network); 24 Apr 2006 12:23:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 12:23:17 -0000 Received: (qmail 34093 invoked by uid 500); 24 Apr 2006 12:23:15 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 34058 invoked by uid 500); 24 Apr 2006 12:23:15 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 34046 invoked by uid 99); 24 Apr 2006 12:23:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 05:23:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 05:23:15 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A618F714293 for ; Mon, 24 Apr 2006 12:22:06 +0000 (GMT) Message-ID: <19603177.1145881326671.JavaMail.jira@brutus> Date: Mon, 24 Apr 2006 12:22:06 +0000 (GMT+00:00) From: "Stefan Guggisberg (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-323) import/export does not work on the root node. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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