Bug 469029
Summary: | errata.bugzilla_fixes returns keys in the map as a string, not an int | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Justin Sherrill <jsherril> |
Component: | API | Assignee: | Jay Dobies <jason.dobies> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 530 | CC: | jason.dobies, ssalevan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat530 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-10 19:53:48 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-10-29 15:32:57 UTC
Commit: 1f5918c5851a341251ce7bf237fddec90815b796 ErrataHandler.java - Despite the fact that the bug ID is a long, XMLRPC treats it as a string when it is the key for a map, so I updated the documentation to reflect that. Map<String,String> errataresult = (Map<String,String>) client.execute("errata.bugzilla_fixes", securityToken, Config.getErrataAdvisory()); Set<String> ids = errataresult.keySet(); assertNotEmpty(ids); for (String id : ids) { assertTrue(errataresult.get(id) instanceof String); } pass proxy.version=5.1 client for 'http://grandprix.rhndev.redhat.com/rpc/api' - created logged in (admin/dog8code), token: '301x80dc589d7c510f95fdf845882461be56 Method: bugzillaFixes Description: Get the Bugzilla fixes for an erratum matching the given advisoryName. The bugs will be returned in a struct where the bug id is the key. i.e. 208144="errata.bugzillaFixes Method Returns different results than docs say" Parameters: * string sessionKey * string advisoryName Returns: * struct - Bugzilla info o string "bugzilla_id" - actual bug number is the key into the struct o string "bug_summary" - summary who's key is the bug id RELEASE_PENDING from latest Stage build. 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/RHEA-2009-1434.html |