Repository setting "Pull from a remote repository" validation bug
Summary
I added a remote repo to pull from, along with my password and click "mirror repository" and saved. Then I wanted to remove it, so I unchecked "mirror repository", removed the password, and removed the URL. However, when I save, the form seems to prevent me from saving because it has a validation message in red URL must have protocol present (eg; ssh://...)
even though there is no URL or any characters in that field at all anymore.
Steps to reproduce
- Add remote mirror repo to pull from
- Add your password
- Uncheck "mirror repository"
- Remove password
- Save
What is the current bug behavior?
The form seems to prevent me from saving because it has a validation message in red URL must have protocol present (eg; ssh://...)
even though there is no URL or any characters in that field at all anymore.
What is the expected correct behavior?
The form should see that we have no data in it and that the "mirror repository" field is not checked, so it should not try to validate the repo URL.