Comment 0 for bug 32117

Revision history for this message
David Allouche (ddaa) wrote : ProductSeries.branch OOPS

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