bad branch names in recipes produce oopses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Aaron Bentley |
Bug Description
Errors specifying branches produce oopses like the those shown below. Instead, a validation error should be shown.
The oopses are different depending one whether the incorrectly-
Oops!
Sorry, something just went wrong in Launchpad.
We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
(Error ID: OOPS-1623DF8)
This server runs pre-release code, so it's possible this problem doesn't affect launchpad.net. If you're a member of the Launchpad Beta Testers team, you can disable redirection in order to use launchpad.net.
Disable redirection for 2 hours
Traceback (most recent call last):
* Module zope.publisher.
result = publication.
* Module canonical.
return mapply(ob, request.
* Module zope.publisher.
return debug_call(obj, args)
_
* Module zope.publisher.
return obj(*args)
* Module canonical.
self.
* Module canonical.
self.
* Module zope.formlib.form, line 606, in success
return self.success_
* Module lp.code.
self.
* Module lp.code.
self.
* Module lp.code.
raise NoSuchBranch(
NoSuchBranch: No such branch: 'bzr-pipeline'.<br />
Oops!
Sorry, something just went wrong in Launchpad.
We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
(Error ID: OOPS-1623DF9)
This server runs pre-release code, so it's possible this problem doesn't affect launchpad.net. If you're a member of the Launchpad Beta Testers team, you can disable redirection in order to use launchpad.net.
Disable redirection for 2 hours
Traceback (most recent call last):
* Module zope.publisher.
result = publication.
* Module canonical.
return mapply(ob, request.
* Module zope.publisher.
return debug_call(obj, args)
_
* Module zope.publisher.
return obj(*args)
* Module canonical.
self.
* Module canonical.
self.
* Module zope.formlib.form, line 606, in success
return self.success_
* Module lp.code.
self.
* Module lp.code.
self.
* Module lp.code.
builder_
* Module lp.code.
instructi
* Module lp.code.
self.branch = branch
* Module storm.references, line 185, in __set__
self.
* Module storm.references, line 717, in unlink
local_
* Module storm.variables, line 72, in raise_none_error
raise NoneError("None isn't acceptable as a value for %s" % name)
NoneError: None isn't acceptable as a value for SourcePackageRe
Related branches
- Māris Fogels (community): Approve
-
Diff: 141 lines (+55/-19)3 files modifiedlib/lp/code/browser/sourcepackagerecipe.py (+5/-0)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+48/-19)
lib/lp/code/model/sourcepackagerecipedata.py (+2/-0)
description: | updated |
Changed in launchpad-code: | |
milestone: | none → 10.06 |
Changed in launchpad-code: | |
assignee: | nobody → Aaron Bentley (abentley) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
Fixed in stable r11015 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11015>.