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

Reply via email to