Repeating error messages when adding a new organization or location
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1191248
Description of problem:
Creating a New Organization: Leaving Name and Label blank results in error strings of "can't be blank, can't be blank, and must contain at least 1 character" and "can't be blank, can't be blank, cannot contain characters other than ascii alpha numerals, '_', '-'. , and must contain at least 1 character" SS #516 Also duplicates the message when an org name is already in use "has already been taken and has already been taken"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new organization and leave fields blank
2. Click Submit
3. Repeating error messages appear
Repeating error messages for blank fields.
Single error message.
Screen shot attached.
Fixes #9447 - stop validating org name
and stop checking label existence twice
#1 Updated by Dominic Cleal over 4 years ago
- Project changed from Foreman to Katello
- Assignee deleted (
- Triaged set to No
Cannot reproduce the validation errors on the name, likely fixed (though I don't know which version the reporter is using).
Moving to Katello as that adds the label field for verification of a fix there.