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


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

        

Reply via email to