Skip to content

Fix "Something went wrong. Please try again" error after merging

Stan Hu requested to merge sh-drop-init-ref-switcher into master

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

  1. On master, create a merge request.
  2. Merge the merge request.
  3. You should see a flash alert: ""Something went wrong. Please try again".
  4. 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.

Edited by Stan Hu

Merge request reports

Loading