Description
Editing the branch name of a versioned folder will work, but all descendent models do not share the new branch name. This then means all paths are incorrect, despite the fact that they still work - but they are inconsistent.
Steps to reproduce
- Create a Versioned Folder
main branch, then a branched copy called something different e.g. anotherBranch
- In MDM UI, edit the branch name to
differentBranch b. Or send this HTTP request:
PUT /api/versionedFolders/{versionedFolderId}
{
"id":"a15d8603-6cf6-4675-9d6b-338f9b720589",
"domainType":"VersionedFolder",
"label":"Test Versioned Folder",
"branchName":"differentBranch"
}
- Notice that
200 OK is returned.
- Now check a model below that versioned folder and notice the branch name is still
anotherBranch
Expected behavior
All model branch names below the versioned folder should also be updated.
Related