"An error occurred fetching the approval rules." on project pages that do not have merge requests.
Summary
Since gitlab 11.10.0-ee (dfa95630) (self-hosted, 70 seats, omnibus install)
When browsing onto a project settings, a red banner "An error occurred fetching the approval rules." when "Visibility, project features, permissions" settings have "Merge requests" deactivated.
Steps to reproduce
- Create project,
- Goto "Visibility, project features, permissions", deactivate and save.
- Press F5
What is the current bug behavior?
cf above.
What is the expected correct behavior?
No error message / banner should appear
Relevant logs and/or screenshots
Not needed. 100% reproducible.
Edited by Julien Lecomte