Bug 646802 - Inconsistent channel name length limit while creating and cloning a channel on RHN Satellite v5.4
Summary: Inconsistent channel name length limit while creating and cloning a channel o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 540
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
: 514966 (view as bug list)
Depends On:
Blocks: sat54-blockers
TreeView+ depends on / blocked
 
Reported: 2010-10-26 10:34 UTC by Šimon Lukašík
Modified: 2018-11-14 14:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Prior to this update, the maximum length of a name for a newly created channel was limited to 64 characters, while the limit for a cloned channel was set to 256 characters. To make this consistent, both limits are now set to 256 characters.
Clone Of:
Environment:
Last Closed: 2011-09-05 07:11:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1252 0 normal SHIPPED_LIVE Red Hat Network Satellite server spacewalk-java bug fix and enhancement update 2011-09-05 07:07:28 UTC

Description Šimon Lukašík 2010-10-26 10:34:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):
sat540


How reproducible:
1 of 1

Steps to Reproduce:
1. Sync rhn-tools-rhel-x86_64-server-5
2. Make its clone on Webui
Channel 'Clone of Red Hat Network Tools for RHEL Server
(v.5 64-bit x86_64)' is successfully created
3. On the details page, do not edit anything but hit the
'Update Channel' button


Actual results:
Big Red banner: 'Channel name can not exceed 64 characters long'

Expected results:
Either update works or creation do not.

Additional info:
 - I am describing steps I have done, but it may also work with
more general reproducer.
 - Full channel name is successfully stored in database:
select name from rhnchannel where label like 'clone%';
Clone of Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)

Comment 4 Tomas Lestach 2011-06-28 16:46:56 UTC
I applied Paresh'es patch:

spacewalk.git: ee9ae4ad2086eddfffeea862ed2d12f64b0fe2bd

Thanks!

Comment 8 Tomas Lestach 2011-08-16 13:54:58 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
Channel name when creating a new channel was limited to 64 characters.
Result:
Channel name increased to 256 characters, when creating a channel.

Comment 10 Jaromir Hradilek 2011-08-31 13:15:42 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1 @@
-Consequence:
+Prior to this update, the maximum length of a name for a newly created channel was limited to 64 characters, while the limit for a cloned channel was set to 256 characters. To make this consistent, both limits are now set to 256 characters.-Channel name when creating a new channel was limited to 64 characters.
-Result:
-Channel name increased to 256 characters, when creating a channel.

Comment 11 errata-xmlrpc 2011-09-05 07:11:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1252.html

Comment 12 Tomas Lestach 2012-08-13 16:36:19 UTC
*** Bug 514966 has been marked as a duplicate of this bug. ***


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