Red Hat Bugzilla – Bug 600691
errata.getDetails(session, name) doesn't return the errata ID
Last modified: 2016-01-04 00:14:37 EST
Description of problem:
errata.getDetails() doesn't return the errata ID. This would be useful for locating an errata and then looping to apply it to all the systems it affects via system.scheduleApplyErrata().
The workaround is to get a list of systems affected by the errata via errata.listAffectedSystems(), then call system.getRelevantErrata() on one of the systems returned, and then loop through the list of errata until you find a matching name and then get the errata ID from that data structure.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. call errata.getDetails(session, name)
the errata ID is not in the returned data structure
the errata ID should be in the returned data structure
I guess this isn't needed. I was just using the API inefficiently when I wrote this report.