REST api does not update the primary path on new version upload
Uploading a new version via REST api does not update the primary path of the document.
[Steps to reproduce]
Install alfresco 6.2.2 using the installer
Login as the admin user to share
Create a site
Create/upload a text document
Take note of the node reference
In the node browser check the node's primary path
Execute the curl command below to update the text file, note the name change
New version of the document is created and the primary path is updated to the new name of the document
New version of the document is created, the primary path of the document remains the same as the original document
[Analysis to date]
Using share's "upload new version" action it updates the document and its primary path. This is the same issue as MNT-22015 but the customer would like that fix in 6.2 as well since they are getting ready to do the upgrade to 6.2.
The HF will be 18.104.22.168.
Once the builds finish, the release will be created.