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: (JCRTCK-17) Ambiguous exception conditions in version tests
Date Thu, 01 Oct 2009 19:00:24 GMT
Ambiguous exception conditions in version tests
-----------------------------------------------

                 Key: JCRTCK-17
                 URL: https://issues.apache.org/jira/browse/JCRTCK-17
             Project: Jackrabbit JCR Tests
          Issue Type: Bug
            Reporter: Marcel Reutegger
            Priority: Minor


Both testSetProperty methods in VersionHistoryTest and VersionTest use the testRootNode as
a parameter even though it is not referenceable. This leads to an ambiguous exception condition
where an implementation may either throw a ValueFormatException (because the node is not referenceable)
or a ConstraintViolationException (because the node is protected). The tests should rather
use a referenceable node instead to avoid this situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message