[dna-issues] [JBoss JIRA] Updated: (DNA-348) AbstractJcrNode.checkin and .checkout Throws the Wrong Exception Type

Brian Carothers (JIRA) jira-events at lists.jboss.org
Fri Apr 10 18:54:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-348:
--------------------------------

    Attachment: DNA-348.patch


Changed exception thrown by both methods.  Can't uncomment SerializationTest yet due to other failures.

> AbstractJcrNode.checkin and .checkout Throws the Wrong Exception Type
> ---------------------------------------------------------------------
>
>                 Key: DNA-348
>                 URL: https://jira.jboss.org/jira/browse/DNA-348
>             Project: DNA
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: 0.3
>            Reporter: Brian Carothers
>            Priority: Minor
>         Attachments: DNA-348.patch
>
>
> Section 8.2.14.1 of the 1.0.1 spec says that Node.checkin() and Node.checkout(): "If this node is not versionable, an UnsupportedRepositoryOperationException is thrown."
> AbstractJcrNode currently throws an UnsupportedOperationException.  This causes about 12 tests to fail in the (currently commented out) SerializationTest in the JR TCK tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list