jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Salzgeber (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1781) Adding a new allowed value results in a NodeTypeConflictException
Date Thu, 02 Oct 2008 11:45:44 GMT
Adding a new allowed value results in a NodeTypeConflictException
-----------------------------------------------------------------

                 Key: JCR-1781
                 URL: https://issues.apache.org/jira/browse/JCR-1781
             Project: Jackrabbit
          Issue Type: New Feature
    Affects Versions: core 1.4.5
            Reporter: Philipp Salzgeber


When a new valid value for an existing enumeration is added to the cnd file, a NodeTypeConflictException
is thrown.

e.g. the repository has a property with the following definition:

        sample:state 'new' mandatory autocreated < 'new', 'old'

but I need to change the definition to something like that:

         sample:state 'new' mandatory autocreated < 'new', 'old', 'ancient'

when I try to re-register the property I get the following exception:

org.apache.jackrabbit.core.nodetype.NodeTypeConflictException: {http://www.sample.com/sample}Sample
contains ambiguous definitions for property named {http://www.sample.com/sample}state

see the discussion on the jackrabbit-users mailing list: http://www.nabble.com/re-registering-an-enumerated-property-td19568953.html#a19568953

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message