Bug 208132
Summary: | errata.listPackages Method Returns different results than docs say. | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Brandon Perkins <bperkins> |
Component: | API | Assignee: | Devan Goodwin <dgoodwin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brandon Perkins <bperkins> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 410 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat510 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-02 21:01:18 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: | 248642 |
Description
Brandon Perkins
2006-09-26 16:21:49 UTC
Third problem: 3) 'package_id' is missing from the doc's return structure. moving to 420. no time in 420 Fails QA. 1) Doc is missing: int "id" 2) Doc is missing: int "package_id" (deprecated) Otherwise, good. Sending code/src/com/redhat/rhn/frontend/xmlrpc/errata/ErrataHandler.java Transmitting file data . Committed revision 136285. Fails QA. Wrong datatype. Actual results: string "id" string "package_id" (deprecated) Expected results: int "id" int "package_id" (deprecated) This this developer written API documentation fun or what?! Sending code/src/com/redhat/rhn/frontend/xmlrpc/errata/ErrataHandler.java Committed revision 136615. Verified. >> client.errata.listPackages(key,"RHBA-2007:1044")
[{'package_md5sum': 'c05588d0c3a6798a85d661969678d64d', 'package_name':
'audit-libs-devel', 'package_vendor': 'Red Hat, Inc.', 'package_version':
'1.0.15', 'last_modified_date': '2007-11-15', 'package_id': 6234, 'file':
'audit-libs-devel-1.0.15-3.el4_6.1.i386.rpm', 'id': 6234, 'size': '55286',
'build_date': '2007-11-08', 'package_cookie': 'hs20-bc1-5.build.redhat.com
1194548143', 'build_host': 'hs20-bc1-5.build.redhat.com', 'package_file':
'audit-libs-devel-1.0.15-3.el4_6.1.i386.rpm', 'payload_size': '93080', ...}]
looks good ..
release pending
API call Enhancements for 5.1 Sat GA so Closed for Current Release. |