Bug 445086
| Summary: | viewing update detail unbound local error yumbackend | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Timms <dtimms> | ||||||||
| Component: | PackageKit | Assignee: | Robin Norwood <robin.norwood> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | low | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | rawhide | CC: | lmacken, richard, tim.lauridsen | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-05-06 17:11:44 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: | 235706 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
David Timms
2008-05-03 12:10:56 UTC
Created attachment 304449 [details]
error dialog.
This looks like a real problem from a quick look at the code -- if there aren't references, then ref is never getting set before its used This bug was caused by improper tab->space conversion. This problem does not exist in the yum2 backend. Created attachment 304472 [details]
An untested patch that may fix the problem.
You lost the 'if refs' check -- which may or may not matter. Otherwise, it looks sane from not knowing the code ;) Yeah, the refs check shouldn't matter -- the yum.update_md.UpdateNotice.references defaults to an empty list. Robin, Richard, can we get this fix built ? Ok, so apparently the refs check *is* necessary. Attaching a tested patch that seems to do the trick. Created attachment 304527 [details]
A tested patch that fixes this issue
Fixed in 34368f7fa13b3ac7d2a16d570d450a027e66dd75 Need a build in dist-f9-updates-candidate and mail to rel-eng with the nvr for tagging please :) Is this okay to mark as a release blocker? Cheers for fixing this guys. I'll do a snapshot release tmw morning and get this into F9. Tagged for the tree. |