[
https://issues.apache.org/jira/browse/CMIS-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Müller resolved CMIS-445.
---------------------------------
Resolution: Fixed
Fix Version/s: OpenCMIS 0.6.0
Assignee: Florian Müller
Good catch! Fixed.
> TCK test of getObjectOfLatestVersion does not comply with CMIS specification
> ----------------------------------------------------------------------------
>
> Key: CMIS-445
> URL: https://issues.apache.org/jira/browse/CMIS-445
> Project: Chemistry
> Issue Type: Bug
> Components: tck
> Affects Versions: OpenCMIS 0.5.0
> Reporter: Cedric Moitrier
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.6.0
>
>
> The specification states that the Repository MUST throw objectNotFound if the
> input parameter major is TRUE and the Version Series contains no major
> versions.
> In AbstractSessionTest#checkVersionHistory, at ligne 1207, the code expects
> that null is returned by doc.getObjectOfLatestVersion if there is no major
> version, while it should expect a CmisObjectNotFoundException to be thrown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira