Closed
Bug 232161
Opened 21 years ago
Closed 21 years ago
no UI to remove an invalid query
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: dbaron, Assigned: gerv)
References
Details
Attachments
(1 file, 1 obsolete file)
1.27 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
There's no UI to remove a query that gives an error.
Steps to reproduce:
1. create an account
2. do a query for all bugs owned by that account, and save the query
3. change the email address associated with that account
4. run the query
Actual results:
4. Error message that the user does not exist, and no way to remove the query
(since the only way to remove a saved query is now by running it)
Expected results:
4. Error message for a saved query should give the option of removing the query
or editing it.
Reporter | ||
Updated•21 years ago
|
Blocks: bmo-regressions-old
Updated•21 years ago
|
Assignee: justdave → gerv
Assignee | ||
Comment 1•21 years ago
|
||
Yep, this is my bug. I meant to fix it after I rearchitected saved queries, but
it slipped my mind. Apologies. I'll get to it this evening (GMT).
Gerv
Comment 2•21 years ago
|
||
Should also be able to *edit* an invalid query.
Q: When a user changes his email address, shouldn't queries with that address
be automatically updated?
Comment 3•21 years ago
|
||
(In reply to comment #2)
> Q: When a user changes his email address, shouldn't queries with that address
> be automatically updated?
Yes, but that's bug 192052.
Assignee | ||
Comment 4•21 years ago
|
||
This adds a "remove saved search" link to all error pages caused by running
saved searches.
Gerv
Assignee | ||
Updated•21 years ago
|
Attachment #139935 -
Flags: review?(justdave)
Assignee | ||
Updated•21 years ago
|
Attachment #139935 -
Flags: review?(myk)
Comment 5•21 years ago
|
||
Comment on attachment 139935 [details] [diff] [review]
Patch v.1
add a way to load the search into the query page, too, and I'll go for it.
("Edit this search")
Attachment #139935 -
Flags: review?(justdave) → review-
Comment 6•21 years ago
|
||
Comment on attachment 139935 [details] [diff] [review]
Patch v.1
>+ <p>
>+ Alternatively, you can
>+ <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd=
>+ [% namedcmd FILTER html %]">forget</a>
>+ this saved search: '[% namedcmd FILTER html %]'.
Nits: indent [% namedcmd %] 13 spaces instead of 18 (so it lines up with the
"b" rather than the "s" in buglist.cgi), and make all of "forget this saved
search" be the link text, as "forget" is a small target (harder to see, harder
to click), unless you implement the "edit" link I just saw justdave requesting,
in which case "forget" is the appropriate link text.
r=myk
Attachment #139935 -
Flags: review?(myk) → review+
Assignee | ||
Comment 7•21 years ago
|
||
This one adds editing capabilities. One begins to understand how powerful this
object-orientated malarkey is...
Gerv
Attachment #139935 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #139968 -
Flags: review?(justdave)
Comment 8•21 years ago
|
||
Comment on attachment 139968 [details] [diff] [review]
Patch v.2
assuming it works, that looks good :)
Attachment #139968 -
Flags: review?(justdave) → review+
Updated•21 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 10•21 years ago
|
||
Fixed.
Checking in template/en/default/global/user-error.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v
<-- user-error.html.tmpl
new revision: 1.45; previous revision: 1.44
done
Gerv
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
Comment 11•21 years ago
|
||
Thats just horrible :) If we were using exceptions, the somethingin buglist.cgi
would catch the user-error. However, we dont' do that, so.....
Comment 12•21 years ago
|
||
Which version of bugzilla was this checked into? 2.18? When will this get on b.m.o?
Assignee | ||
Comment 13•21 years ago
|
||
It was checked into the latest CVS, and will get onto b.m.o. when it next
updates, which will be as soon as we've fixed any other regressions we find. :-)
Gerv
Comment 14•20 years ago
|
||
*** Bug 252064 has been marked as a duplicate of this bug. ***
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•