Fix "Something went wrong. Please try again" error after merging
What does this MR do and why?
!117453 (merged) dropped
initRefSwitcher
, but there was still one stale call left to
Project.initRefSwitcher()
that caused an undefined method error
after merging. This error didn't actually prevent merges from going
through.
Relates to #407833 (closed)
How to set up and validate locally
- On
master
, create a merge request. - Merge the merge request.
- You should see a flash alert: ""Something went wrong. Please try again".
- Repeat the same test with this merge request.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu