Mis-typed urls result in a dead-end 404

Bug #3942 reported by Celso Providelo
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The NotFound page is one of the most frustrating pages in Launchpad. Presenting search results for incomplete or mis-typed URLs, instead of a NotFound page, looks like an interesting solution.

The results could be primarily context aware, e.g.:
 https://launchpad.net/products/ubu -> returns results related with the "ubu" token within products
 https://launchpad.net/people/ste -> returns results related with the "ste" token within people

It could also present launchpad-wide results if nothing or few related instances were found within the current context.

This approach was mentioned in bug 1160, and reported for products in particular as bug 1500.

description: updated
Revision history for this message
Steve Alexander (stevea) wrote : Re: Present search results instead of NotFound pages

The way to do this is to raise a particular subclass of NotFound, say ProductNotFound. Then, we can register a custom 404 error page for the ProductNotFound error that has this search stuff on it.

Changed in launchpad:
status: Unconfirmed → Confirmed
Changed in launchpad-foundations:
status: Confirmed → Triaged
summary: - Present search results instead of NotFound pages
+ misstyped urls result in a dead-end 404
summary: - misstyped urls result in a dead-end 404
+ Mis-typed urls result in dead-end 404s
Revision history for this message
Robert Collins (lifeless) wrote :

Changed to allow search to find it.

summary: - Mis-typed urls result in dead-end 404s
+ Mis-typed urls result in a dead-end 404
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.