Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.5.0
-
None
Description
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.