jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aimran <aimra...@gmail.com>
Subject Import export fails for authorizable node
Date Wed, 05 Jan 2011 19:44:37 GMT

Hi I am trying to export and import a workspace [system view] using the API. 

However I am getting a strange error when trying to save the import data:

mandatory property {internal}password does not exist
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1097)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:920)

The exported XML seems to have the password field for the said user:
<sv:node sv:name="u1@test.com">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:property sv:name="email" sv:type="String">
<sv:property sv:name="jcr:created" sv:type="Date">
<sv:property sv:name="jcr:createdBy" sv:type="String">
<sv:property sv:name="rep:password" sv:type="String">
<sv:property sv:name="rep:principalName" sv:type="String">

Is there a solution for this? Is this a bug?

Also, another related question:
I understand that jcr:system cannot be exported/imported... can the
"jcr:security" and "jcr:policy" be exported/imported?

View this message in context: http://jackrabbit.510166.n4.nabble.com/Import-export-fails-for-authorizable-node-tp3176272p3176272.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message