Steps to reproduce:
- Create a (numeric) custom metric (eg quality-index)
- Use this metric in a quality gate (if quality-index < 5 then QG status = Error)
- Delete the custom metric
- Try to access the quality gate. It is not longer reachable
To fix the problem you have to refresh the quality gate page.