Template productseries-hctstatus-core.pt is wrongly calling getPackageName

Bug #32117 reported by David Allouche
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
David Allouche

Bug Description

The ProductSeries index page OOPSes when ProductSeries.branch is set.

Steps to reproduce with sampledata:

      * link productseries 3 (evolution-main) to branch 14 (Evolution
        HEAD)
      * display /products/evolution/+series/main

A quick look suggest that the fix would require changing the
productseries-hctstatus-core.pt template not to use
context/branch/getPackageName.

The page should present a link to the branch page using
BranchView.displayname (Branch.title, fallback to unique_name), it
should also present the URL of the branch using BranchView.url (external
URL, fallback to supermirror URL).

It would also be nice to fix the sampledata so ProductSeries.branch is
set in each ProductSeries for which it exists a branch whose name is an
Arch branch name matching the ProductSeries.targetarch* fields. But that
cleanup should be postponed if it causes any new problem.

  affects /products/launchpad
  status confirmed
  assignee daf
  milestone oops

OOPS-44A490

description: updated
David Allouche (ddaa)
Changed in launchpad:
assignee: daf → ddaa
status: Confirmed → In Progress
David Allouche (ddaa)
Changed in launchpad:
status: In Progress → Fix Committed
Dafydd Harries (daf)
Changed in launchpad:
status: Fix Committed → Fix Released
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.