Closed Bug 1540245 Opened 5 years ago Closed 5 years ago

Quicksearch no longer jumps to aliased bug

Categories

(bugzilla.mozilla.org :: Search, defect, P2)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kats, Unassigned)

References

(Regression)

Details

(Keywords: regression)

It used to be that going to e.g. https://bugzilla.mozilla.org/buglist.cgi?quicksearch=dynamic-toolbar would redirect you straight to bug 716403 (which has the alias "dynamic-toolbar"). This no longer works; instead it takes you to a search results page which lists nothing, because that bug is resolved and the search only searches unresolved bugs. Even if you try going to an unresolved aliased bug, like https://bugzilla.mozilla.org/buglist.cgi?quicksearch=wr-68 it will just display the single result instead of redirecting you to the bug.

I have a keyword bookmark for this URL which is pretty broken as a result of this.

Depends on: 1527053
Keywords: regression

This did come up in review. I think we could reasonably detect a quicksearch vs. a bookmarked case.

In the interim, replacing /buglist.cgi?quicksearch=ALIAS with /show_bug.cgi?id=ALIAS would work.

Yeah, you don’t have to use quick search to visit a bug with the alias.

https://bugzilla.mozilla.org/show_bug.cgi?id=dynamic-toolbar
https://bugzilla.mozilla.org/show_bug.cgi?id=wr-68

We can’t detect if the requests are from bookmarks, unfortunately.

We could add a hidden param to the quicksearch form on every page, however.

I can use show_bug.cgi, but now I need two bookmarks (one for searching and one for jumping to bugs) whereas before I just needed one which did The Right Thing always :/

well, let me see about a little patch can make both use cases work.

Assignee: nobody → dylan

People could bookmark URLs with the hidden param, so it probably won’t work. To be honest, I’d like to remove quick search.

Also: the https://bugzil.la/ URL shortener relied on this same functionality. That is, going to https://bugzil.la/dynamic-toolbar would jump you to the aliased bug but now it goes to a search result listing with no results. I'm pretty sure links like these are littered around the web and are now broken.

kats is in the top 10 for performing searches, so I'm inclined to at least try out a solution.

bugzil.la not owned nor managed by Mozilla so we cannot guarantee it always works.

Status: NEW → ASSIGNED
Priority: -- → P2

Do we want to go to disambiguation page if we hit an alias?

Flags: needinfo?(kohei.yoshino)
No longer depends on: 1527053
Flags: needinfo?(kohei.yoshino)
Regressed by: 1527053
Assignee: dylan → nobody
Status: ASSIGNED → NEW

This has already been solved by backing out my PR for Bug 1527053. I’ll fix the other bug by adding a hidden param like redirect_alias=0 to the quick search form.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.