Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 594319[details]
Screenshot
Description of problem:
Seems that we have a combination of policy validations for username creation that can lead to confusing notifications.
Version-Release number of selected component (if applicable):
* candlepin-0.6.5-1.el6_2.noarch
* candlepin-tomcat6-0.6.5-1.el6_2.noarch
* katello-0.1.318-1.el6cf.noarch
* katello-all-0.1.318-1.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.0.7-1.el6_3.noarch
* katello-cli-0.1.112-1.el6cf.noarch
* katello-cli-common-0.1.112-1.el6cf.noarch
* katello-common-0.1.318-1.el6cf.noarch
* katello-configure-0.1.110-1.el6_3.noarch
* katello-glue-candlepin-0.1.318-1.el6cf.noarch
* katello-glue-foreman-0.1.318-1.el6cf.noarch
* katello-glue-pulp-0.1.318-1.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-0.1.10-1.el6.noarch
* pulp-1.0.4-1.el6.noarch
* pulp-common-1.0.4-1.el6.noarch
* pulp-selinux-server-1.0.4-1.el6.noarch
How reproducible:
Steps to Reproduce:
1. As the administrator, go to the new Users panel
2. Click the New User button
3. For the username use a very long username (more than 255 characters)
4. Type a 6-character password and repeat for the confirmation field
5. Enter a valid email
6. Optionally, choose a default organization
7. Click the save button
Actual results:
The following notification pops up:
Validation Failed:
* Username is too long (maximum is 255 characters)
* Username cannot contain more than 64 characters
Expected results:
Only one of these rules should be displayed
Additional info:
Now instead of two validation errors:
- Username is too long (maximum is 255 characters)
- Username cannot contain more than 64 characters
there will be only one:
- Username cannot contain more than 64 characters
because there is no point to have the default validation of username with maximum length 255 characters.
Changeset is => 03cc3c4
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open.
Created attachment 594319 [details] Screenshot Description of problem: Seems that we have a combination of policy validations for username creation that can lead to confusing notifications. Version-Release number of selected component (if applicable): * candlepin-0.6.5-1.el6_2.noarch * candlepin-tomcat6-0.6.5-1.el6_2.noarch * katello-0.1.318-1.el6cf.noarch * katello-all-0.1.318-1.el6cf.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.7-1.el6_3.noarch * katello-cli-0.1.112-1.el6cf.noarch * katello-cli-common-0.1.112-1.el6cf.noarch * katello-common-0.1.318-1.el6cf.noarch * katello-configure-0.1.110-1.el6_3.noarch * katello-glue-candlepin-0.1.318-1.el6cf.noarch * katello-glue-foreman-0.1.318-1.el6cf.noarch * katello-glue-pulp-0.1.318-1.el6cf.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.10-1.el6.noarch * pulp-1.0.4-1.el6.noarch * pulp-common-1.0.4-1.el6.noarch * pulp-selinux-server-1.0.4-1.el6.noarch How reproducible: Steps to Reproduce: 1. As the administrator, go to the new Users panel 2. Click the New User button 3. For the username use a very long username (more than 255 characters) 4. Type a 6-character password and repeat for the confirmation field 5. Enter a valid email 6. Optionally, choose a default organization 7. Click the save button Actual results: The following notification pops up: Validation Failed: * Username is too long (maximum is 255 characters) * Username cannot contain more than 64 characters Expected results: Only one of these rules should be displayed Additional info: