Merge lp:~henninge/launchpad/bug-507498-oops-subset into lp:launchpad
Proposed by
Henning Eggers
on 2010-01-15
| Status: | Rejected | ||||
|---|---|---|---|---|---|
| Rejected by: | Henning Eggers on 2010-01-18 | ||||
| Proposed branch: | lp:~henninge/launchpad/bug-507498-oops-subset | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
40 lines (+18/-1) 2 files modified
lib/canonical/launchpad/security.py (+1/-1) lib/lp/translations/doc/potemplate.txt (+17/-0) |
||||
| To merge this branch: | bzr merge lp:~henninge/launchpad/bug-507498-oops-subset | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Guilherme Salgado (community) | code | 2010-01-15 | Approve on 2010-01-15 |
|
Review via email:
|
|||
To post a comment you must log in.
| Henning Eggers (henninge) wrote : | # |
| Guilherme Salgado (salgado) wrote : | # |
Hi Henning,
Since your new test is a test for a corner case, I'd rather see it as a unit test (e.g. in lp/translations
review:
Approve
(code)
| Adi Roiban (adiroiban) wrote : | # |
Just a small comment:
Since AdminPOTemplate
return AdminPOTemplate
| Henning Eggers (henninge) wrote : | # |
This will not be merged as Adi is working on a branch that fixes this bug, too.
Unmerged revisions
- 10180. By Henning Eggers on 2010-01-15
-
Fixed the bug by not checking for owner.
- 10179. By Henning Eggers on 2010-01-15
-
Added test for Edit permission on POTemplateSubset.
- 10178. By Henning Eggers on 2010-01-15
-
Merged devel.

This is a simple fix for bug 507498 to stop the OOPS from happening. It fixes the persmission checker that tried to check the owner of a POTemplateSubset which it does not have. A somewhat articficial test was added to reproduce the error.