cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating from 3.2 to 4.2

jbsyn
Champ in-the-making
Champ in-the-making
I realize there are better ways to do this and I'm certain the legacy code is a bit of a horror, but we are attempting to migrate without changing that legacy code.

Why might the following work on 3.2 but not 4.2?

GET /alfresco/service/api/path/workspace/SpacesStore/Company%20Home

On 3.2 it returns the information about the root Company Home node.
On 4.2 it returns 404: Cannot find object for NodePathReference[storeRef=workspace://SpacesStore,path=Company Home]

On both 3.2 and 4.2 the following URL works fine:

GET /alfresco/service/api/path/workspace/SpacesStore/Company%20Home/FolderName

It seems to be only the root Company Home path that is not accessible anymore.

Thanks…
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
must be missing something out there it should work as well.
Post your full urls of both request

kaynezhang
World-Class Innovator
World-Class Innovator
in 4.2 if you want to get company home folder,please write it like this

https://server:port/alfresco/service/api/path/workspace/SpacesStore/app:company_home

jbsyn
Champ in-the-making
Champ in-the-making
And seems to be backwards-compatible. 

Thank you.