An error occurred while fetching the assigned iteration of the selected issue.
Validation error for autodevops is displayed in another section
Summary
When a user sets an invalid domain for Autodevops, the validation error is shown in the wrong section and the JS is disabled after
Steps to reproduce
- Go to CI / CD Settings -> Auto DevOps
- Add an invalid domain that starts or ends with an hyphen (
adfasdfadf-
) - The application returns an error (which is expected) but the error is displayed in the wrong section: "General Pipelines" and it should be on "Auto DevOps" section
What is the current bug behavior?
Validation error is shown on "General Pipelines" section and JS is disabled.
What is the expected correct behavior?
Validation error is shown on "Auto devops" section and JS is not disabled.
Relevant logs and/or screenshots
Output of checks
This bug happens on Gitlab.com