/distros/ubuntu/+sources will need to present something useful

Bug #2230 reported by Brad Bollenbach
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Medium
Dafydd Harries

Bug Description

https://launchpad.net/distros/ubuntu/+sources (and equivalent URLs for other distributions) returns a NotFound error:
    * Module canonical.launchpad.webapp.publisher, line 458, in _publishTraverse
      return self._handle_next_object(nextobj, request, name)
    * Module canonical.launchpad.webapp.publisher, line 379, in _handle_next_object
      raise NotFound(self.context, name)
NotFound: Object: <Distribution at 0x2aa62874d0>, name: u'+sources'

This is currently the most common exception in Launchpad.

The +sources URL probably should replace <https://launchpad.net/distros/ubuntu/+search> and <https://launchpad.net/distros/ubuntu/+allpackages>, by containing a search form for packages and a batched list of packages.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Redundant?

Can this be closed, given the new @stepthrough approach?

Changed in soyuz:
assignee: nobody → sabdfl
status: New → Rejected
Revision history for this message
Brad Bollenbach (bradb) wrote :

https://launchpad.net/distros/ubuntu/+sources still presents nothing useful, so I don't think this bug should be closed.

description: updated
Changed in launchpad:
assignee: sabdfl → nobody
status: Rejected → New
Brad Bollenbach (bradb)
Changed in launchpad:
status: New → Accepted
Dafydd Harries (daf)
Changed in launchpad:
status: Accepted → Fixed
Brad Bollenbach (bradb)
Changed in launchpad:
status: Fix Released → Confirmed
Dafydd Harries (daf)
Changed in launchpad:
assignee: nobody → daf
Revision history for this message
Steve Alexander (stevea) wrote :

There are no pages that link to https://launchpad.net/distros/ubuntu/+sources.

Sourcepackages have URLs like https://launchpad.net/distros/ubuntu/+source/pmount

Removing the sourcepackage name from the end gives you https://launchpad.net/distros/ubuntu/+source, which redirects to the distro page.

So, there is no reason for the +sources page to be anything but a 404 not found error.

If such errors continue to occur in the logs, we should look at the referrer information to see why.

Changed in launchpad:
status: Confirmed → Rejected
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.