You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/02/28 12:31:13 UTC

[jira] [Created] (SLING-2761) Illegal change of protected property in PostServletVersionableTest

Alex Parvulescu created SLING-2761:
--------------------------------------

             Summary: Illegal change of protected property in PostServletVersionableTest
                 Key: SLING-2761
                 URL: https://issues.apache.org/jira/browse/SLING-2761
             Project: Sling
          Issue Type: Bug
          Components: Testing
            Reporter: Alex Parvulescu


While running some of the integration tests using Oak as a repository impl, I ran into some ConstraintViolationExceptions with the PostServletVersionableTest.

This uncovered an issue in Jackrabbit JCR-3526 where you can change protected properties on new items, which is in fact considered illegal.

Coming back to the PostServletVersionableTest, the test setup uses this trick to set up the content and I think it should be changed.

On a more general note fixing JCR-3526 could turn up even more problems that the aforementioned test, so it would be nice to have some more thoughts on this on how big the problem could really be.


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