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
Reporter: angela
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.