List of branches does not load on a cherry pick
Summary
After you accept a merge-request the interfaces loads the cherry-pick button (without fully reloading the page). When you press the cherry pick button and the cherry pick modal shows up, the branches list is empty. Even if you close the modal of and open it again the problem persists. If you fully reload the page, then the modal works properly and the branches list is populated.
Steps to reproduce
- Create a merge-request.
- Accept the merge-request.
- Wait for the merge-request to be merged and the page to load the cherry pick button
- Press the cherry pick button
- Try to load the branches list on the modal
- Verify that the list is empty and no request is sent when you open it
Example Project
This is happening on https://gitlab.com/noosfero/noosfero but as described above, you can only reproduce it right after accepting a merge-request.
What is the current bug behavior?
The branches list on the cherry pick modal does not load the branches right after you accept a merge-request without fully reloading the page.
What is the expected correct behavior?
The branches list on the cherry pick modal should load the branches right after you accept a merge-request without the need to fully reloading the page.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com