Alex Parvulescu created JCR-3480:
------------------------------------
Summary: Extend SaveTest#testConstraintViolationException to cover
cases where the validation happens on Session#save
Key: JCR-3480
URL: https://issues.apache.org/jira/browse/JCR-3480
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-jcr-tests
Reporter: Alex Parvulescu
Assignee: Alex Parvulescu
The test is org.apache.jackrabbit.test.api.query.SaveTest located in
jackrabbit-jcr-tests.
The issue is that even thought the api allows for impelmentations that perform
lazy validation (at a later Session#save call), the test assumes direct
validation and therefore fails when running against Oak code.
I'm proposing to add a Session#save call to the test to verify that the
validation happens either directly or on the save call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira