Editing archives with enabled restricted processors OOPSes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
If an archive has enabled restricted processors and you don't have launchpad.Admin on the archive, then it's impossible to save the +edit form; the disabled checkboxes corresponding to the restricted processors aren't submitted with the form, so you get something like https:/
I think the fix is to extend that form's validation code to do the same kind of thing that we currently do for enabled unavailable processors (e.g. lpia), namely to force enabled processors whose checkbox widgets are disabled into the list.
Related branches
- William Grant: Approve (code)
-
Diff: 167 lines (+60/-38)2 files modifiedlib/lp/soyuz/browser/archive.py (+10/-5)
lib/lp/soyuz/browser/tests/test_archive.py (+50/-33)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r17781 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 17781>.