Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 69306 invoked from network); 6 Jan 2011 15:57:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 15:57:37 -0000 Received: (qmail 57795 invoked by uid 500); 6 Jan 2011 15:57:36 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 57654 invoked by uid 500); 6 Jan 2011 15:57:35 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 57646 invoked by uid 99); 6 Jan 2011 15:57:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 15:57:34 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of aimran50@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 15:57:29 +0000 Received: from joe.nabble.com ([192.168.236.151]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PasD7-0004ny-7g for users@jackrabbit.apache.org; Thu, 06 Jan 2011 07:57:09 -0800 Date: Thu, 6 Jan 2011 07:57:09 -0800 (PST) From: aimran To: users@jackrabbit.apache.org Message-ID: <1294329429234-3177654.post@n4.nabble.com> In-Reply-To: <4D2577E2.9080301@adobe.com> References: <1294256677343-3176272.post@n4.nabble.com> <4D2577E2.9080301@adobe.com> Subject: Re: Import export fails for authorizable node MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Angela, thanks for your reply. I added the fragment in under the element, but I still get the same error: "..mandatory property {internal}password does not exist.." Here's some more info, in case I am doing something wrong: - Using UserPerWorkspaceSecurityManager SecurityManager - Running a Jackrabbit 2.1.2 transient repository over derby - Created a workspace and added a new user in the workspace with UserManager api - Added some content - Set access control on the added content for the new User - Exported the workspace XML with the session API [logged in as Admin]. The exported XML dump shows the new user, content and the ACL - Importing into another repository that already has the workspace pre-created, but is empty. Also the config file has the import setting provided by Angela. This is where it bombs. -- Tried to export/import from root path "/":FAILS.mandatory property password... exception -- Tried to export/import just the "/rep:security": FAILS. Creates a second security node [ /rep:security[2]/rep:authorizab...] instead on overriding the current one and also thows the "mandatory property..." exception. -- If I import export just the application content it imports, but all the ACL settings are lost. What else should I be doing? Can someone please provide some clear steps on how to go about exporting and import all data relevant to a workspace? Some other confusion points that I have: - Since export/import is per workspace basis and access control+security+system data is stored above/outside the work space level [right?], then how exactly is the other information supposed to be exported/imported. - Since export/import doesnt support versions and other system data, what exactly is the purpose/motivation behind the import export API. IMHO, it doesnt seem to provide any value as the import/export doesnt keep the two workspaces in sync. What is its use case? -- View this message in context: http://jackrabbit.510166.n4.nabble.com/Import-export-fails-for-authorizable-node-tp3176272p3177654.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.