Closed
Bug 281574
Opened 21 years ago
Closed 21 years ago
Combine version_/milestone_/component_no_action errors into one.
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: shane.h.w.travis, Assigned: shane.h.w.travis)
References
Details
Attachments
(1 file, 1 obsolete file)
3.65 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
These three entries in user-error.html.tmpl are identical, save for one word.
These could easily be combined into one 'no_valid_action' error message, and
the one word passed in as a field.
Patch to follow.
Assignee | ||
Comment 1•21 years ago
|
||
I'm about to need this as part of bug 98123... so rather than make another
identical error message, I thought I'd clean things up a bit.
Attachment #173804 -
Flags: review?(wurblzap)
![]() |
||
Comment 2•21 years ago
|
||
Comment on attachment 173804 [details] [diff] [review]
Code patch for tip
>+ThrowUserError('no_valid_action', {'name' => "milestoness"});
milestones with one 's'!
Else it's good: r=LpSolit
Attachment #173804 -
Flags: review?(wurblzap) → review+
![]() |
||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
Assignee | ||
Comment 4•21 years ago
|
||
Gavin makes a good (if frustrating) point... so here's a version that works
with localization.
Attachment #173804 -
Attachment is obsolete: true
Attachment #173867 -
Flags: review?(LpSolit)
![]() |
||
Comment 5•21 years ago
|
||
Comment on attachment 173867 [details] [diff] [review]
Code patch for tip, take 2
r=LpSolit
Indeed much better! :)
Attachment #173867 -
Flags: review?(LpSolit) → review+
Updated•21 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 6•21 years ago
|
||
Checking in editcomponents.cgi;
/cvsroot/mozilla/webtools/bugzilla/editcomponents.cgi,v <-- editcomponents.cgi
new revision: 1.46; previous revision: 1.45
done
Checking in editmilestones.cgi;
/cvsroot/mozilla/webtools/bugzilla/editmilestones.cgi,v <-- editmilestones.cgi
new revision: 1.30; previous revision: 1.29
done
Checking in editversions.cgi;
/cvsroot/mozilla/webtools/bugzilla/editversions.cgi,v <-- editversions.cgi
new revision: 1.29; previous revision: 1.28
done
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.88; previous revision: 1.87
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Severity: trivial → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•