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] Resolved: (JCRTCK-17) Ambiguous exception conditions in version tests
Date Fri, 02 Oct 2009 06:13:23 GMT

     [ https://issues.apache.org/jira/browse/JCRTCK-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger resolved JCRTCK-17.
------------------------------------

    Resolution: Fixed

Fixed in trunk in revision: 820894

> 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