Bug 823510
| Summary: | 'bugzilla' (python API program) no longer works against bugzilla.redhat.com | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
| Component: | python-bugzilla | Assignee: | Will Woods <wwoods> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | crobinso, dcantrell, jskarvad, jvillalo, mrunge, sgreen, wwoods |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.2.1-1.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-06 23:16:08 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: | 786624 | ||
|
Description
Richard W.M. Jones
2012-05-21 12:40:05 UTC
Reading around, it seems to be a problem if Red Hat has custom templates which use the 'get_fields' method. Apparently simply replacing these with 'fields' should fix the problem, although I am unable to verify this. (In reply to comment #1) > Reading around, it seems to be a problem if Red Hat > has custom templates which use the 'get_fields' method. > Apparently simply replacing these with 'fields' should > fix the problem, although I am unable to verify this. You are correct that fields replaces get_fields, but it is not a drop in replacement (get_fields returned an array of Bugzilla::Field, fields returns a hash with the field name as the key, and the Bugzilla::Field as the value). This has been fixed in Bugzilla 4.2.1-1.1 which was released a few minutes ago. -- simon I don't think it's been fixed correctly. Try: $ bugzilla query -b 12345,823510 #12345 CLOSED - Bernhard Rosenkraenzer - ps-to-printer.fpi Whatever bug numbers you try, only one bug is shown. Whereas it should show all the bugs listed (and used to -- I have a bugzilla script that depends on this). I'm reassigning to the python-bugzilla product since it isn't a fault with the Bugzilla code. *** This bug has been marked as a duplicate of bug 823599 *** |