Closed
Bug 542239
Opened 15 years ago
Closed 9 years ago
Accept pronouns everywhere in query.cgi
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: gerv, Assigned: altlist)
References
Details
Attachments
(1 file)
1.16 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
Unless I'm very much mistaken, this should return all open bugs assigned to the user doing the search:
https://bugzilla.mozilla.org/buglist.cgi?emailassigned_to1=1;query_format=advanced;email1=%25user%25;resolution=---;emailtype1=exact
But on b.m.o. (running 3.4), it says:
"The name %user% is not a valid username. Either you misspelled it, or the person has not registered for a Bugzilla account."
Seems like this is broken all the way back to Bugzilla 3.0:
https://landfill.bugzilla.org/bugzilla-3.0-branch/buglist.cgi?emailassigned_to1=1;query_format=advanced;email1=%25user%25;resolution=---;emailtype1=exact
Gerv
Comment 1•15 years ago
|
||
No, pronouns are only used in boolean charts so far. Morphing the bug to reflect what you ask for.
Severity: normal → enhancement
Summary: Pronouns are broken (%user%, %qacontact% etc.) → Accept pronouns everywhere in query.cgi
Updated•15 years ago
|
Whiteboard: DUPME?
Comment 2•14 years ago
|
||
For the most part, I suspect that this has already been fixed on HEAD by the refactoring. However, it's not completely done yet.
Assignee: query-and-buglist → mkanat
Whiteboard: DUPME?
Target Milestone: --- → Bugzilla 4.2
Updated•14 years ago
|
Target Milestone: Bugzilla 4.2 → Bugzilla 5.0
Comment 4•14 years ago
|
||
This is actually likely something that will be done as part of finishing up the Search refactoring.
Target Milestone: Bugzilla 5.0 → Bugzilla 4.2
Updated•13 years ago
|
Target Milestone: Bugzilla 4.2 → Bugzilla 4.4
Comment 5•12 years ago
|
||
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved.
I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
Updated•12 years ago
|
Assignee: mkanat → query-and-buglist
Assignee | ||
Comment 7•9 years ago
|
||
With this patch, I was able to use the %user% pronoun for the example in original description. Seems like a rather simple fix, am I missing something?
Attachment #8743053 -
Flags: review?(dkl)
Comment 8•9 years ago
|
||
Comment on attachment 8743053 [details] [diff] [review]
bug-544239-user-pronoun
Review of attachment 8743053 [details] [diff] [review]:
-----------------------------------------------------------------
This does in fact fix the 'is' search type. Will commit with my small change applied. r=dkl
::: Bugzilla/Search.pm~
@@ +1742,3 @@
> my $email = trim($params->{"email$id"});
> next if !$email;
> my $type = $params->{"emailtype$id"} || 'anyexact';
I would also change this to be:
my $type = $params->{"emailtype$id"} || 'equals';
Attachment #8743053 -
Flags: review?(dkl) → review+
Updated•9 years ago
|
Assignee: query-and-buglist → altlist
Target Milestone: --- → Bugzilla 5.0
Updated•9 years ago
|
Flags: approval5.0+
Comment 9•9 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
ab5ec7e..e2b1136 master -> master
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
a868b88..ea0c502 5.0 -> 5.0
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•20 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•