Bug 987670
Summary: | CLI: Env/org name and Label needs to have same character limit. Creating an env/org name with more that 128 characters throws an incorrect error string. | |||
---|---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | Apurva Bhole <abhole> | |
Component: | katello | Assignee: | Bryan Kearney <bkearney> | |
Status: | CLOSED ERRATA | QA Contact: | SAM QE List <sam-qe-list> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 1.3 | CC: | bkearney, omaciel, sghai, sthirugn, tkolhar | |
Target Milestone: | rc | |||
Target Release: | 1.3 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 995937 (view as bug list) | Environment: | ||
Last Closed: | 2013-10-01 11:14:14 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 833466, 995937 |
Description
Apurva Bhole
2013-07-23 20:43:40 UTC
This is also an issue for org name with more than 128 characters. If Also observed in Product and Repository fields. The entire affected list is: 1. Organization 2. Environment 3. Product 4. Repository For environments, I believe what we want is the message to state that *both* name and label for the environment cannot be longer than 128 characters. The same probably applies to the other areas. The same issue I found with content-view definitions. Earlier the limit for CV definition was 128 characters for both Label and name. Now for 'name' the limit is 255 characters and for label is 128. Ideally, it should be 128 characters for both name and label. SNAP0 contains these bug fixes. Moving to ON_QA. VERIFIED : # rpm -qa | grep katello katello-selinux-1.4.4-2.el6sat.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-common-1.4.3-5.el6sat.noarch katello-cli-1.4.3-5.el6sat.noarch katello-common-1.4.3-6.el6sam_splice.noarch katello-configure-1.4.4-2.el6sat.noarch katello-glue-elasticsearch-1.4.3-6.el6sam_splice.noarch katello-headpin-all-1.4.3-6.el6sam_splice.noarch katello-glue-candlepin-1.4.3-6.el6sam_splice.noarch signo-katello-0.0.10-2.el6sat.noarch katello-headpin-1.4.3-6.el6sam_splice.noarch Org create with label of 128 characters shows appropriate error : # headpin -u admin -p **** org create --name "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789abcdefghi" --label "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789abcdefghi" Validation failed: Label cannot contain more than 128 characters Org names with 128 characters works correctly : # headpin -u admin -p **** org create --name "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789abcdefghi" Successfully created org [ 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789abcdefghi ] Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1390.html |