Description of problem: I created an update just now, and carefully filled in the bugs fields with a list of several bugs (comma-separated, no spaces). However fedpkg update (or something) has just ignored all these bugs and the update appears to have no bugs attached, nor has anything been posted to the relevant bugzillas. Version-Release number of selected component (if applicable): fedora-packager-0.5.1.4-1.fc14.noarch How reproducible: ? Steps to Reproduce: 1. Do 'fedpkg update' 2. Fill in bugs=123456,654321 3. Actual results: No bugs associated with the update. Expected results: Expect that bugs would be associated with the update. Additional info: Update that I filed is here: https://admin.fedoraproject.org/updates/libguestfs-1.5.21-1.fc14.3
Kicking this over to bodhi-client, I think that's where the issue is.
This is probably the same issue as https://fedorahosted.org/bodhi/ticket/484 (Bodhi drops all bug numbers from an update if you mistype one of them).
Possibly a similar issue, I just tried to update the buglist from the web UI, one of the bugs in the middle of the list is marked 'private' in bugzilla, every bug id in the list _after_ the private one is dropped. So list was X Y Z bug Y was private, list was updated as only X
Created attachment 593002 [details] Collect bug lookup errors and keep going Completely untested patch that should collect bug lookup errors and keep going, reporting the concatenated errors in an exception at the end of the process.
diff --git a/bodhi/controllers.py b/bodhi/controllers.py index 674c9ae..9d483a9 100644 --- a/bodhi/controllers.py +++ b/bodhi/controllers.py @@ -1024,11 +1024,10 @@ class Root(controllers.RootController): try: original_bugs = [bug.bz_id for bug in update.bugs] update.update_bugs(bugs) - except xmlrpclib.Fault, f: - log.exception(f) + except ValueError: note.insert(0, "Unable to access one or more bugs: %s" % f.faultString) s/f.faultString/f/g (still untested, just realized this tho)
Thanks for the patch, Cole. I applied a modified version of it upstream, and will be pushing it into staging shortly.
bodhi-0.9.3-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/bodhi-0.9.3-1.fc18
Package bodhi-0.9.3-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bodhi-0.9.3-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18150/bodhi-0.9.3-1.fc18 then log in and leave karma (feedback).
bodhi-0.9.3-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.