Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
6d010359
Commit
6d010359
authored
Feb 17, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 281574 : Combine version_/milestone_/component_no_action errors into one.
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=LpSolit a=myk
parent
8a225c27
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
15 deletions
+7
-15
editcomponents.cgi
editcomponents.cgi
+1
-1
editmilestones.cgi
editmilestones.cgi
+1
-1
editversions.cgi
editversions.cgi
+1
-1
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+4
-12
No files found.
editcomponents.cgi
View file @
6d010359
...
@@ -671,4 +671,4 @@ if ($action eq 'update') {
...
@@ -671,4 +671,4 @@ if ($action eq 'update') {
#
#
# No valid action found
# No valid action found
#
#
ThrowUserError
(
'
component_no_action'
);
ThrowUserError
(
'
no_valid_action'
,
{
'field'
=>
"component"
}
);
editmilestones.cgi
View file @
6d010359
...
@@ -594,4 +594,4 @@ if ($action eq 'update') {
...
@@ -594,4 +594,4 @@ if ($action eq 'update') {
#
#
# No valid action found
# No valid action found
#
#
ThrowUserError
(
'
milestone_no_action'
);
ThrowUserError
(
'
no_valid_action'
,
{
'field'
=>
"target_milestone"
}
);
editversions.cgi
View file @
6d010359
...
@@ -446,4 +446,4 @@ if ($action eq 'update') {
...
@@ -446,4 +446,4 @@ if ($action eq 'update') {
#
#
# No valid action found
# No valid action found
#
#
ThrowUserError
(
'
version_no_action'
);
ThrowUserError
(
'
no_valid_action'
,
{
'field'
=>
"version"
}
);
template/en/default/global/user-error.html.tmpl
View file @
6d010359
...
@@ -258,10 +258,6 @@
...
@@ -258,10 +258,6 @@
You must use an existing [% terms.Bugzilla %] account as initial QA contact for
You must use an existing [% terms.Bugzilla %] account as initial QA contact for
component '[% name FILTER html %]'.
component '[% name FILTER html %]'.
[% ELSIF error == "component_no_action" %]
[% title = "No valid action specified" %]
No valid action was specified when trying to edit components.
[% ELSIF error == "product_not_specified" %]
[% ELSIF error == "product_not_specified" %]
[% title = "No Product Specified" %]
[% title = "No Product Specified" %]
No product specified when trying to edit components, milestones or
No product specified when trying to edit components, milestones or
...
@@ -629,10 +625,6 @@
...
@@ -629,10 +625,6 @@
The name of a milestone is limited to 20 characters.
The name of a milestone is limited to 20 characters.
'[% name FILTER html %]' is too long ([% name.length %] characters).
'[% name FILTER html %]' is too long ([% name.length %] characters).
[% ELSIF error == "milestone_no_action" %]
[% title = "No valid action specified" %]
No valid action was specified when trying to edit milestones.
[% ELSIF error == "milestone_not_specified" %]
[% ELSIF error == "milestone_not_specified" %]
[% title = "No Milestone Specified" %]
[% title = "No Milestone Specified" %]
No milestone specified when trying to edit milestones.
No milestone specified when trying to edit milestones.
...
@@ -796,6 +788,10 @@
...
@@ -796,6 +788,10 @@
Either no products have been defined to enter [% terms.bugs %] against or you have not
Either no products have been defined to enter [% terms.bugs %] against or you have not
been given access to any.
been given access to any.
[% ELSIF error == "no_valid_action" %]
[% title = "No valid action specified" %]
Cannot edit [% field_descs.$field FILTER html %]: no valid action was specified.
[% ELSIF error == "number_not_numeric" %]
[% ELSIF error == "number_not_numeric" %]
[% title = "Numeric Value Required" %]
[% title = "Numeric Value Required" %]
The value '[% num FILTER html %]' in the
The value '[% num FILTER html %]' in the
...
@@ -985,10 +981,6 @@
...
@@ -985,10 +981,6 @@
The name of a version is limited to 20 characters.
The name of a version is limited to 20 characters.
'[% name FILTER html %]' is too long ([% name.length %] characters).
'[% name FILTER html %]' is too long ([% name.length %] characters).
[% ELSIF error == "version_no_action" %]
[% title = "No valid action specified" %]
No valid action was specified when trying to edit versions.
[% ELSIF error == "version_not_specified" %]
[% ELSIF error == "version_not_specified" %]
[% title = "No Version Specified" %]
[% title = "No Version Specified" %]
No version specified when trying to edit versions.
No version specified when trying to edit versions.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment