Skip to content

Changing the name of a Versioned Folder branch does not change the branch name of all models below it #477

@pjmonks

Description

@pjmonks

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

  1. Create a Versioned Folder main branch, then a branched copy called something different e.g. anotherBranch
  2. 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"
}
  1. Notice that 200 OK is returned.
  2. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions