jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1781) Adding a new allowed value results in a NodeTypeConflictException
Date Tue, 18 May 2010 10:53:43 GMT

     [ 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

> 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.

View raw message