Bug 437334

Summary: Lookup channel xmlrpc call does not allow for NULL descriptions
Product: [Retired] Red Hat Network Reporter: James Bowes <jbowes>
Component: RHN/BackendAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Stephen Herr <sherr>
Severity: low Docs Contact:
Priority: low    
Version: rhn500-satellite-betaCC: aowens, bkearney, bperkins, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: US=19780
Fixed In Version: 5.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-21 18:43:41 UTC Type: ---
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: 428922, 443075    

Description James Bowes 2008-03-13 16:20:38 UTC
The db allows for NULL descriptions, but lookupchannel doesn't. and so things
will explode when marshalling to xmlrpc. need to say channel.descrption or ""

Comment 1 Amy Owens 2008-03-13 16:49:27 UTC
since this is defined-- moved into accepted backlog

Comment 2 James Bowes 2008-04-15 15:04:54 UTC
*** Bug 431288 has been marked as a duplicate of this bug. ***

Comment 3 James Bowes 2008-04-16 16:41:49 UTC
*** Bug 432086 has been marked as a duplicate of this bug. ***

Comment 4 James Bowes 2008-04-21 12:23:16 UTC
To Test:
 * use sqlplus to find a channel with an empty description, ie
   select * from rhnchannel where description is NULL
 * use rhn-manage-channel to 'list' that channel
   rhn-manage-channel-internal --list --label some-channel
   Details should be displayed, rather than a traceback.

Comment 5 Stephen Herr 2008-04-21 18:43:41 UTC
Looks good in dev, and qa, and stage, and production....