Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83781 - looking for a bug like #80296 does not work, 80296 instead works
Summary: looking for a bug like #80296 does not work, 80296 instead works
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bugzilla Admins
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords: PATCH
: 447322 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-02 00:57 UTC by Toralf Förster
Modified: 2016-04-02 21:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quicksearch-one-hash.patch (quicksearch-one-hash.patch,702 bytes, patch)
2015-05-27 07:47 UTC, SpanKY
Details | Diff
quicksearch-many-hash.patch (quicksearch-many-hash.patch,733 bytes, patch)
2015-05-27 07:47 UTC, SpanKY
Details | Diff
0001-quicksearch-support-1234-bugs.patch (0001-quicksearch-support-1234-bugs.patch,1.38 KB, patch)
2015-05-27 07:59 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-03-02 00:57:32 UTC
The sign '#' in front of bug number prevents the search function to work as expected, '#' is commonly used in gentoo docs/forum to mark a bug.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Allchin 2005-03-06 05:53:04 UTC
The bug isn't actually called #83781, it's 83781. People refer to it as Bug# 87381 , it's like saying Bug Number 87381.
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2005-05-12 21:16:28 UTC
-
Comment 3 Toralf Förster gentoo-dev 2005-05-21 07:26:07 UTC
You are right, but ...
In every Changelog and similar docs you can read ' ... to bug #nnn ...'. Now
clicking with the mouse button onto #nnn and pasting this with middle button
into the text field yields in pasting #nnn instad of nnn as the bug number of
interest.
It is only a minor thing which makes life easier if the search function would
action the sign '#' too.

So, that's why I would like to reopen this bug.
Comment 4 Jeffrey Forman (RETIRED) gentoo-dev 2005-07-11 10:56:42 UTC
this should be fixed as now bug links work as expected in bugzilla. there is no
need to copy/paste it.

-jeffrey
Comment 5 Toralf Förster gentoo-dev 2013-03-17 09:42:00 UTC
re-appeared again - checked it few minutes ago
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-17 09:45:54 UTC
Re-opening on OP request.
Comment 7 Alex Legler (RETIRED) archtester gentoo-dev Security 2013-09-09 15:28:36 UTC
*** Bug 447322 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2015-05-27 07:47:19 UTC
Created attachment 404058 [details, diff]
quicksearch-one-hash.patch
Comment 9 SpanKY gentoo-dev 2015-05-27 07:47:33 UTC
Created attachment 404060 [details, diff]
quicksearch-many-hash.patch
Comment 10 SpanKY gentoo-dev 2015-05-27 07:56:58 UTC
first some background: the quick search field has three main modes of operation:
(1) single bug number -> you get redirected to the report
(2) list of bug numbers (split by commas or whitespace) -> you get a listing of just those bugs
(3) a search string -- whatever you type in becomes the query

things to note about (1) & (2): all whitespace & commas are normalized.  e.g.:
  "  1234 ,, ,, ,  " -> "1234" -> redirected to report 1234
  " 1234,,,,5678  ," -> "1234,5678" -> shown a list w/just those two bugs

we could easily support a single bug with a single leading # ... see quicksearch-one-hash.patch for how

but thinking pathologically, do we want to support more ?  how about multiple items like " #1234, ,#5678, " ?  quicksearch-many-hash.patch handles that.

should i be able to paste in something like "#1234#5" (bug 1234 comment 5) ?  or should bugzilla do a quicksearch for that ?

but what about " #1234, #5678#22" ?  and what if you want to search for a real string like "#12#45#67#" (think low level data streams) ?

i'd lean towards Gentoo adopting quicksearch-one-hash.patch as it lacks any sort of ambiguity, and move any further discussion upstream.  that's a pretty good trade-off i think in terms of mitigating our pain.
Comment 11 SpanKY gentoo-dev 2015-05-27 07:59:21 UTC
Created attachment 404062 [details, diff]
0001-quicksearch-support-1234-bugs.patch
Comment 12 SpanKY gentoo-dev 2015-05-27 08:00:05 UTC
Comment on attachment 404058 [details, diff]
quicksearch-one-hash.patch

use the more formal 0001-quicksearch-support-1234-bugs.patch
Comment 13 Toralf Förster gentoo-dev 2016-01-24 16:57:03 UTC
thx.
Comment 14 SpanKY gentoo-dev 2016-04-02 21:09:54 UTC
this is live in our install now:
https://gitweb.gentoo.org/proj/gentoo-bugzilla.git/commit/?id=2f3202ed9560b700625912c6702472949ec91ae1

upstream has declined to take the change despite my requests ;).