[
https://issues.apache.org/jira/browse/SLING-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589455#comment-13589455
]
Alex Parvulescu commented on SLING-2761:
----------------------------------------
Link to the mentioned code
http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletVersionableTest.java?view=markup#l44
> 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