Open parkerabercrombie opened 2 days ago
Thanks @parkerabercrombie - I met with the devs and we understand the issue, and @AaronPlave is working on a code fix. To summarize, if a branched plan is/was a part of a merge request, the UI is not tolerant to that plan being deleted even though deletion is allowed, & deleting it will cause the "merge requests" modal UI to break on any other plans that would show the deleted plan as part of its merge history - even if the merge is accepted/completed.
For workarounds until the code fix can be taken, from lowest impact/risk to highest:
merge_request
table (specifically, requests where the snapshot_id_supplying_changes
has a null
plan_id
). However, note that this is a destructive change - the plan itself won't be modified, but you will lose the record of the past merge in the merge requests list.snapshot_id_supplying_changes
to point to these new plans instead of null
, which would give them some data to display in the UI and fix the issue. This carries some risk (modifying production data) but we could rehearse in a local environment and give you specific instructions if needed.
Checked for duplicates
No - I haven't checked
Is this a regression?
No - This is a new bug
Version
2.11.2
Describe the bug
Nothing happens when I click "Merge requests" on parent plan. Error in browser console.
Reproduction
1) Create plan branch 1 2) Create plan branch 2 3) Open merge request from branch 1 4) Open merge request from branch 2 5) Delete plan branch 1 6) Cannot open merge requests for parent plan
Logs
Severity
Major