Bug 990687 - Adding 256 char default custom info keyname for distributors at organization level renders success message. Default info sync thereafter fails.
Summary: Adding 256 char default custom info keyname for distributors at organization...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Adam Price
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-07-31 18:37 UTC by Apurva Bhole
Modified: 2014-04-30 17:22 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-30 17:22:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Apurva Bhole 2013-07-31 18:37:25 UTC
Description of problem:
When trying to add a default custom info keyname 256 characters long, a success message is displayed. But trying to sync this or any other valid custom info thereafter fails. 

Version-Release number of selected component (if applicable):
katello-common-1.4.2-1.git.997.e699743.el6.noarch
katello-headpin-all-1.4.2-1.git.997.e699743.el6.noarch
katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-1.4.2-1.git.137.fea0d84.el6.noarch
signo-katello-0.0.9-1.el6.noarch
katello-glue-candlepin-1.4.2-1.git.997.e699743.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
katello-headpin-1.4.2-1.git.997.e699743.el6.noarch
katello-repos-1.4.2-1.el6.noarch
katello-cli-common-1.4.2-1.git.137.fea0d84.el6.noarch
katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
katello-glue-elasticsearch-1.4.2-1.git.997.e699743.el6.noarch


How reproducible:
Everytime

Steps to Reproduce:
1. org create --name Org1 
2. distributor create --name dist1 --org Org1
3. org default_info add --name Org1 --keyname <key256char> --type distributor
# success message
4. org default_info sync --name Org1 --type distributor
# failed to sync
5. org default_info add --name Org1 --keyname 'FirstKey' --type distributor
# success message
6. org default_info sync --name Org1 --type distributor
# failed to sync

Actual results:
As described above. Result of adding the default info shows success. default_info sync fails.

Expected results:
Validation error: Keyname cannot exceed 256 characters
The other valid default info addition and sync thereafter should work fine too.

Comment 2 Adam Price 2013-10-01 15:13:58 UTC
default_info is correctly limited to 255 characters

Comment 4 Mike McCune 2013-10-17 21:02:48 UTC
Moving this to be tested during MDP3, not critical for MDP2 success story

Comment 7 sthirugn@redhat.com 2014-04-30 16:21:45 UTC
Custom distributors not applicable to Sat6.  Moving back to SAM.

Comment 8 sthirugn@redhat.com 2014-04-30 17:22:40 UTC
Custom distributors will not be worked as of now.  It may possibly be redone in future.


Note You need to log in before you can comment on or make changes to this bug.