OOPS when daily build targets unsupported distroeries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Steve Kowalik |
Bug Description
A user is building a recipe that targets maverick, which is no longer supported. Doing this triggers an OOPS:
BuildNotAllow
Traceback (most recent call last):
Module zope.publisher.
result = publication.
Module lp.services.
return mapply(ob, request.
Module zope.publisher.
return debug_call(obj, args)
- __traceback_info__: <bound method SourcePackageRe
Module zope.publisher.
return obj(*args)
Module lp.services.
self.
Module lp.app.
self.
Module zope.formlib.form, line 606, in success
return self.success_
Module lp.code.
builds = recipe.
Module lp.code.
distroseries, PackagePublishi
Module lp.code.
raise BuildNotAllowed
BuildNotAllowed
Related branches
- Curtis Hovey (community): Approve (code)
-
Diff: 194 lines (+65/-11)5 files modifiedlib/lp/code/browser/sourcepackagerecipe.py (+10/-2)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+18/-1)
lib/lp/code/interfaces/sourcepackagerecipe.py (+5/-1)
lib/lp/code/model/sourcepackagerecipe.py (+9/-2)
lib/lp/code/model/tests/test_sourcepackagerecipe.py (+23/-5)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
OOPS-afd9ee0243c4ee9cd29e905ac5ecdd8a