jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3112) NodeTypeDefDiff.PropDefDiff.init() constraints change check bugs
Date Thu, 13 Oct 2011 16:02:11 GMT

     [ https://issues.apache.org/jira/browse/JCR-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stefan Guggisberg resolved JCR-3112.

       Resolution: Fixed
    Fix Version/s: 2.3.2

fixed in svn r1182929
> NodeTypeDefDiff.PropDefDiff.init() constraints change check bugs
> ----------------------------------------------------------------
>                 Key: JCR-3112
>                 URL: https://issues.apache.org/jira/browse/JCR-3112
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi-commons
>    Affects Versions: 2.3.1
>            Reporter: Kamil Nezval
>             Fix For: 2.3.2
> Two bugs have been found in NodeTypeDefDiff.PropDefDiff.init() when try to modify property
constraints of an already registered node type:
> 1) according to the java doc it should be possible to remove all constraints from a property,
but it is not (marked as a MAJOR change).
> 2) it's allowed (TRIVIAL) to set a constraint to a property that had no constraint at
all before, which is wrong, because it could affect the consistency of existing repository

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message