jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1862) jcr2spi: transient removal of mandatory item throws ConstraintViolationException
Date Tue, 18 Nov 2008 09:31:44 GMT

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

angela resolved JCR-1862.
-------------------------

    Resolution: Fixed

ah sure... 

regarding merge: no problem... merging at the point of fixing an issue is really not an big
deal.

> jcr2spi: transient removal of mandatory item throws ConstraintViolationException
> --------------------------------------------------------------------------------
>
>                 Key: JCR-1862
>                 URL: https://issues.apache.org/jira/browse/JCR-1862
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 1.4
>            Reporter: angela
>             Fix For: 1.5.0
>
>
> reported by tobi:
> the transient removal of a mandatory (non-protected) item immediately fails. 
> instead the check should be postponed until the save() call, since it would be perfectly
legal to remove the mandatory item and then re-add it.
> suggested fix:
> ItemStateValidator#checkRemoveConstraints should only check for protection and ignore
mandatory definitions.

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