You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/11/18 10:23:44 UTC
[jira] Commented: (JCR-1862) jcr2spi: transient removal of
mandatory item throws ConstraintViolationException
[ https://issues.apache.org/jira/browse/JCR-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648543#action_12648543 ]
Jukka Zitting commented on JCR-1862:
------------------------------------
Can this be resolved as fixed?
BTW, thanks for merging this to 1.5!
> 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.