UNAPPROVED packages in /~/+packages have broken links

Bug #115078 reported by Emilio Pozuelo Monfort
10
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

A page like https://launchpad.net/~pochu/+packages shows broken links when a package is uploaded but not yet published.

Links shouldn't be manually generated in templates/person-packages.pt, instead the method _latestReleaseQuery() should be joined with the sourcepackagepublishinghistory table.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Hello Emilio,

Thanks for the bug report.
I couldn't reproduce. liferea and firestarter links seem to be working. do you have any other examples?

Changed in launchpad:
status: Unconfirmed → Needs Info
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Hi Diogo,

I can't reproduce it now too. I think it might be because Martin Pitt accepted all those packages into the repository this morning, so those pages were created. Is that possible?

So what might be happening: Somebody uploads to -proposed, and launchpad creates the entry in the person's page. However, since it's not been approved, it's neither uploaded to archive.ubuntu.com, nor his page is created in launchpad.net/ubuntu/release/+source/packagename/version, which leads to a broken link.

I'll try to find any other broken links (probably when somebody uploads again).

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Looks like this happens when every upload, not just -proposed.

I've uploaded listen 0.5-0ubuntu4 half an hour ago. It already appears in https://launchpad.net/~pochu/+packages, but not in https://launchpad.net/ubuntu/+source/listen/

At this moment, the link in https://launchpad.net/~pochu/+packages is broken. I guess it will be until it the upload appears in ubuntu/+source.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I've been looking at this, and when anybody uploads a package, it's in his list (~anybody/+packages), but it isn't in the package overview for some time. During that time, the link with the version number in people's page is broken.

Revision history for this message
William Grant (wgrant) wrote :

I have some permanently broken links on my page, due to a new package being rejected. Unless the source is published, the links lead to nowhere.

description: updated
Changed in soyuz:
status: Needs Info → Confirmed
Celso Providelo (cprov)
tags: added: navigation
removed: fix-it-friday
Changed in soyuz:
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in launchpad:
importance: Medium → Low
summary: - Broken link in /people/me/+packages
+ UNAPPROVED packages in /people/me/+packages have broken links
Curtis Hovey (sinzui)
summary: - UNAPPROVED packages in /people/me/+packages have broken links
+ UNAPPROVED packages in /~/+packages have broken links
tags: added: 404 lp-registry related-projects-packages
removed: navigation
Curtis Hovey (sinzui)
Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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