Closed OButlerOcc closed 4 months ago
@OButlerOcc Do you have a stack trace?
Isn't the issue more that the list of available branches to merge into includes finalised versioned folders?
The branch selector component in the UI is calling the GET /api/versionedFolders/{id}/simpleModelVersionTree?branchesOnly=true
. For data models this returns just the draft branches, perhaps there is an issue with the versionedFolder
domain endpoint - maybe the branchesOnly
parameter is ignored? Something to look into.
Is it related to this failing test in Jenkins? https://jenkins.cs.ox.ac.uk/job/Mauro%20Data%20Mapper/job/mdm-core/job/develop/513/testReport/junit/uk.ac.ox.softeng.maurodatamapper.datamodel/DataModelFunctionalSpec/Functional_Tests___Functional_Test__mdm_plugin_datamodel___MI07___test_merging_diff_into_draft_model_using_new_style/
Versioned folders allow you to merge a finalised branch which causes a comparison error
Create the following:
one tagged finalised branch,
one non finalised main branch
one other branch.
go to merge on the testbranch