golang_import_spec needs to check that the branch is accessible
Bug #1474592 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Kit Randel |
Bug Description
Accessing a project page with a default branch or repository on which you don't have launchpad.View crashes with an Unauthorized:
Module lp.registry.
branch=
Unauthorized: (<Branch u'<REDACTED>' (16950244)>, 'unique_name', 'launchpad.
Related branches
lp:~blr/launchpad/bug-1474592-check-branch-accessibility
- William Grant (community): Approve (code)
-
Diff: 125 lines (+54/-17)4 files modifiedlib/lp/registry/browser/product.py (+12/-14)
lib/lp/registry/browser/productseries.py (+2/-1)
lib/lp/registry/browser/tests/test_product.py (+19/-1)
lib/lp/registry/browser/tests/test_productseries_views.py (+21/-1)
Changed in launchpad: | |
assignee: | nobody → Bayard 'kit' Randel (blr) |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r17631 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 17631>.