Bug 963053

Summary: backward compatible to bz 4.2
Product: [Retired] Red Hat Hardware Certification Program Reporter: Tony Fu <tfu>
Component: Hardware CatalogAssignee: Tony Fu <tfu>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.1CC: hwcert-catalog
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-20 16:00:24 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: 962017    

Description Tony Fu 2013-05-15 03:59:39 UTC
Description of problem:


Bug.get() returns a different format of "component" and "version".  In Catalog 5.1, we need to support both returned data

For 4.2, Bug.get() returns component as a string if there is only one component in the bug, while Bug.get() returns component as an array regardless the number of components in 4.4.  Same thing for version.