Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
core 1.4.5
-
None
-
None
Description
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