You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/05/18 12:53:43 UTC
[jira] Updated: (JCR-1781) Adding a new allowed value results in a
NodeTypeConflictException
[ https://issues.apache.org/jira/browse/JCR-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated JCR-1781:
------------------------
Component/s: jackrabbit-core
nodetype
> Adding a new allowed value results in a NodeTypeConflictException
> -----------------------------------------------------------------
>
> Key: JCR-1781
> URL: https://issues.apache.org/jira/browse/JCR-1781
> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Components: jackrabbit-core, nodetype
> 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.