deleting a recipe causes an oops

Bug #597376 reported by Jelmer Vernooij
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Paul Hummer

Bug Description

Trying to remove a recipe (https://code.edge.launchpad.net/~jelmer/+recipe/ppa-lucid/+delete) I get the following exception (OOPS OOPS-1634EC3847):

Traceback (most recent call last):

Module zope.publisher.publish, line 134, in publish
Module canonical.launchpad.webapp.publication, line 436, in callObject
return mapply(ob, request.getPositionalArguments(), request)
Module zope.publisher.publish, line 109, in mapply
__traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/edge.launchpad.net/edge/launchpad-rev-11042/lib/lp/code/browser/../../app/templates/generic-edit.pt instance at 0x2aaab6c16090>
Module zope.publisher.publish, line 115, in debug_call
Module canonical.launchpad.webapp.publisher, line 274, in __call__
self.initialize()
Module canonical.launchpad.webapp.launchpadform, line 111, in initialize
self.form_result = action.success(data)
Module zope.formlib.form, line 606, in success
Module lp.code.browser.sourcepackagerecipe, line 497, in request_action
self.context.destroySelf()
Module lp.code.model.sourcepackagerecipe, line 185, in destroySelf
destroyBuilds(pending=True)
Module lp.code.model.sourcepackagerecipe, line 184, in destroyBuilds
build.destroySelf()
Module lp.code.model.sourcepackagerecipebuild, line 222, in destroySelf
job = self.buildqueue_record.job
AttributeError: 'NoneType' object has no attribute 'job'<br />

Related branches

affects: soyuz → launchpad-code
Paul Hummer (rockstar)
Changed in launchpad-code:
importance: Undecided → High
status: New → Triaged
tags: added: oops recipe
Paul Hummer (rockstar)
Changed in launchpad-code:
status: Triaged → In Progress
assignee: nobody → Paul Hummer (rockstar)
milestone: none → 10.07
Revision history for this message
Paul Hummer (rockstar) wrote :

Fixed in devel 11076

Changed in launchpad-code:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in launchpad-code:
milestone: 10.07 → 10.06
tags: added: qa-needstesting
Paul Hummer (rockstar)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-code:
status: Fix Committed → Fix Released
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Problem still occurs on edge.

Revision history for this message
Paul Hummer (rockstar) wrote :

Do you have an oops ID?

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Paul,

OOPS-1660EA1472

This is the ID.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.