AnsweredAssumed Answered

Issue in object lookup after upgrade to alfresco 5.2

Question asked by udayakumar_p on Dec 18, 2017
Latest reply on Dec 19, 2017 by udayakumar_p

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




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.




The code works fine without a leading /.