Bug 464872

Summary: system.listGroups returns 'subscribed' as string
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: APIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED NOTABUG QA Contact: Justin Sherrill <jsherril>
Severity: medium Docs Contact:
Priority: medium    
Version: 530CC: bbuckingham, skarmark
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-10 21:52:02 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: 456996    

Description Justin Sherrill 2008-09-30 22:29:44 UTC
This is a 1 or 0 value and is documented as an Int.  It should not be a string!

Comment 1 Brad Buckingham 2009-02-10 21:52:02 UTC
Just ran a quick test on space05 and looks like this may have already been fixed.  Closing as 'not a bug'.


>>> client.system.listGroups(key,1000010108)
[{'sgid': '109', 'subscribed': 0, 'id': 109, 'system_group_name': 'bradgroup'}, {'sgid': '84', 'subscribed': 0, 'id': 84, 'system_group_name': 'ManagedGrouplHAvwRe9xnKwb'}, {'sgid': '85', 'subscribed': 0, 'id': 85, 'system_group_name': 'ManagedGroupqo94I3N0y5W1o'}]
>>>

Comment 2 Sayli Karmarkar 2009-08-13 20:03:38 UTC
>>> server.system.listGroups(key, 1000013080)
[{'sgid': '1467', 'system_group_name': 'foobar', 'subscribed': 1, 'id': 1467}]

ClosedValid.