Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.5.0
-
None
Description
AbstractSessionTest.hasPolicies and hasRelationships checks the presence of policies and relationships by calling session.getTypeDefinition and catching an exception.
However it only catches CmisObjectNotFoundException, but the spec is vague and a CmisInvalidArgumentException could be returned as well.