Merge lp:~michael.nelson/launchpad/580181-only-one-ds-cache into lp:launchpad
Proposed by
Michael Nelson
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merge reported by: | Michael Nelson |
Merged at revision: | not available |
Proposed branch: | lp:~michael.nelson/launchpad/580181-only-one-ds-cache |
Merge into: | lp:launchpad |
Diff against target: |
185 lines (+142/-7) 4 files modified
lib/lp/soyuz/browser/tests/test_sourcepackagerelease.py (+59/-0) lib/lp/soyuz/model/distroseriesbinarypackage.py (+9/-7) lib/lp/soyuz/templates/sourcepackagerelease-files.pt (+5/-0) lib/lp/soyuz/tests/test_distroseriesbinarypackage.py (+69/-0) |
To merge this branch: | bzr merge lp:~michael.nelson/launchpad/580181-only-one-ds-cache |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | release-critical code | Approve | |
Canonical Launchpad Engineering | Pending | ||
Review via email: mp+26329@code.launchpad.net |
Commit message
Deleted files for a source package release do not cause oops when rendering template.
Description of the change
This is a fix for bug 580181 which is causing ~700 or so oopses per day currently.
It tests and fixes both the NotOneError: one() and LocationError: (None, 'filesize') oopses mentioned on the bug report.
To test:
bin/test -vv -m browser.
I assume this will be an RC candidate due to the frequency of the oopses.
To post a comment you must log in.
I am so happy to see this fix. You are awarded a gold start, and Approve, and an RC.