Found a strange issue after upgrading alfresco from 5.0 to 5.2.
The following code was working fine in alfresco 5.0
session.getObjectByPath("abc/xyz/"); // this code returns the folder object for a folder named 'xyz'.
The below code also works fine, same as above code, in 5.0
session.getObjectByPath("abc/xyz");
Whether there is a leading / or not, the code returns the folder object.
But in 5.2, the code does not return the folder object if there is a leading /.
i.e. the following code does not return the folder.
session.getObjectByPath("abc/xyz/");
The code works fine without a leading /.
It looks like your are using CMIS. Which client API are you using? What CMIS endpoint do you connect to?
Hi,
We are using apache's opencmis
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.