Editing archives with enabled restricted processors OOPSes

Bug #1501519 reported by Colin Watson on 2015-09-30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
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://oops.canonical.com/?oopsid=OOPS-9de61c05d7c88735fa8ab60a5432e4c3 ("CannotModifyArchiveProcessor: powerpc is restricted, and may only be enabled or disabled by administrators.").

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

Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant) on 2015-10-01
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2015-10-01
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers