Bug 787411
Summary: | get_flag_type API is busted with current RH bugzilla | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Cole Robinson <crobinso> |
Component: | python-bugzilla | Assignee: | Will Woods <wwoods> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | azelinka, jscotka, jskarvad, wwoods |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-30 22:05:42 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: |
Description
Cole Robinson
2012-02-04 22:51:14 UTC
I have the same problem:
>>> buglist = bugzilla.query({'bug_id':758416})
>>> buglist[0].get_flags('devel_ack')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 1368, in get_flags
ft = self.get_flag_type(name)
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 1358, in get_flag_type
for t in self.flag_types:
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 1210, in __getattr__
raise AttributeError, "field %s not in bugzilla.bugfields" % name
AttributeError: field flag_types not in bugzilla.bugfields
This works in python-bugzilla-0.6.0-1.el6.noarch.
Will, the patch from c#0 fixes the problem for us. Can you please apply it? Thanks. Hi, I have same problem, And it causes big problem in out tests automation,. I'm unable to read flags. Is there any progress? Thanks Honza Current upstream is still busted here. I have a branch though at git://fedorapeople.org/~crobinso/python-bugzilla.git tests Which fixes it (along with a lot of other changes). I mailed wwoods about that branch so hopefully it will end up on master in due time. python-bugzilla-0.7.0-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-bugzilla-0.7.0-1.fc16 Package python-bugzilla-0.7.0-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-bugzilla-0.7.0-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8996/python-bugzilla-0.7.0-1.fc16 then log in and leave karma (feedback). python-bugzilla-0.7.0-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |