jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3642) Ambiguous exception expectation in SessionMoveVersionExceptionTest
Date Thu, 08 Aug 2013 10:29:47 GMT
Marcel Reutegger created JCR-3642:

             Summary: Ambiguous exception expectation in SessionMoveVersionExceptionTest 
                 Key: JCR-3642
                 URL: https://issues.apache.org/jira/browse/JCR-3642
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
    Affects Versions: 2.7
            Reporter: Marcel Reutegger
            Priority: Minor

The exception expectation in testSessionMoveSourceCheckedInVersionException() is ambiguous.

Session.move() attempts to move a checked in node to a destination where a node already exists.
For either case an exception is specified (VersionException and ItemExistsException), but
the spec does not say which one takes precedence.

The test should therefore try to move the node to a location where no node exists.

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

View raw message