OOPS accessing +new-recipe page not logged in
Bug #583395 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Paul Hummer |
Bug Description
As seen on OOPS-1601EB362 an AttributeError: 'NoneType' object has no attribute 'find' was raised while accessing the +new-recipe page anonymously.
To reproduce:
1. Make sure you're not logged in
2. Open https:/
3. OOPS-1601EC781
Related branches
lp://staging/~rockstar/launchpad/fix-broken-recipes
- Francis J. Lacoste (community): Approve
- Tim Penhey (community): Approve
-
Diff: 63 lines (+19/-3)2 files modifiedlib/lp/code/browser/configure.zcml (+2/-2)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+17/-1)
tags: | added: recipe |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad-code: | |
status: | Triaged → In Progress |
assignee: | nobody → Paul Hummer (rockstar) |
Changed in launchpad-code: | |
milestone: | 10.05 → 10.06 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So, I think the best solution here is to make it so that the person can't naturally get to this page when they aren't logged in, and to not show this view at all when they are not logged in. Give them a 403 or something, but this page shouldn't be available to those not logged in.