OOPS retargeting a distribution bug to distribution source package bug

Bug #361761 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

As seen in OOPS-1194EA331 an AttributeError: 'Distribution' object has no attribute 'distribution' was raised while the apport tracing service was trying to change the target of a distribution bug to a distribution sourcepackage bug.

To reproduce, using the api:

In: bug_357904 = launchpad.bugs[357904]
In: bug_357904.bug_tasks[0].target
Out: <distribution at https://api.staging.launchpad.net/beta/ubuntu>
In: ubuntu = launchpad.distributions['ubuntu']
In: kdepim_source_pkg = ubuntu.getSourcePackage(name='kdepim')
In: bugtask_bug_357904 = bug_357904.bug_tasks[0]
In: bugtask_bug_357904.transitionToTarget(target=kdepim_source_pkg)

HTTPError: HTTP Error 500: Internal Server Error

This oops has been triggered frequently since the 2.2.3 rollout, a few times a day.

Tags: lp-bugs oops
tags: added: oops
description: updated
Changed in malone:
milestone: none → 2.2.4
status: New → Triaged
Changed in malone:
importance: Undecided → High
milestone: 2.2.4 → 2.2.5
Changed in malone:
milestone: 2.2.5 → 2.2.6
Changed in malone:
milestone: 2.2.6 → 2.2.7
Changed in malone:
milestone: 2.2.7 → 2.2.8
Deryck Hodge (deryck)
Changed in malone:
milestone: 2.2.8 → 3.1.10
Changed in malone:
milestone: 3.1.10 → none
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.