AnsweredAssumed Answered

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Repository didn't return cmis:path!

Question asked by czar82 on Apr 17, 2018

When I login in with a normal user and call:

Folder rootFolder = (Folder) cmisSession.getObject(parentFolderId);
rootFolder.getPath(); //THIS LINE GIVE ME THE ERROR

on a folder, I get this error:

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Repository didn't return cmis:path!

rootFolder seems valid and it is not null.

 

But if instead of using a generic user, I use the admin user, all works fine. No errors.

I suppose that the folder has the right authorization (otherwise I will receive an cmis authorization exception). I created the folder from the admin control panel, and granted authorization to a group which my user belong.

 

What am I missing?

Outcomes