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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
982de31e
Commit
982de31e
authored
Dec 14, 2004
by
jocuri%softhome.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch for bug 274236: Variable component overlaps in ThrowCodeError; patch by…
Patch for bug 274236: Variable component overlaps in ThrowCodeError; patch by me, r=wurblzap (Marc), a=justdave.
parent
1ed8e4bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
editflagtypes.cgi
editflagtypes.cgi
+1
-1
process_bug.cgi
process_bug.cgi
+1
-1
code-error.html.tmpl
template/en/default/global/code-error.html.tmpl
+2
-2
No files found.
editflagtypes.cgi
View file @
982de31e
...
@@ -484,7 +484,7 @@ sub validateComponent {
...
@@ -484,7 +484,7 @@ sub validateComponent {
defined
(
$component_id
)
defined
(
$component_id
)
||
ThrowCodeError
(
"flag_type_component_nonexistent"
,
||
ThrowCodeError
(
"flag_type_component_nonexistent"
,
{
product
=>
$::FORM
{
'product'
},
{
product
=>
$::FORM
{
'product'
},
component
=>
$::FORM
{
'component'
}
});
name
=>
$::FORM
{
'component'
}
});
}
}
sub
validateSortKey
{
sub
validateSortKey
{
...
...
process_bug.cgi
View file @
982de31e
...
@@ -709,7 +709,7 @@ if ($::FORM{'component'} ne $::FORM{'dontchange'}) {
...
@@ -709,7 +709,7 @@ if ($::FORM{'component'} ne $::FORM{'dontchange'}) {
$comp_id
=
get_component_id
(
$prod_id
,
$comp_id
=
get_component_id
(
$prod_id
,
$::FORM
{
'component'
});
$::FORM
{
'component'
});
$comp_id
||
ThrowCodeError
(
"invalid_component"
,
$comp_id
||
ThrowCodeError
(
"invalid_component"
,
{
component
=>
$::FORM
{
'component'
},
{
name
=>
$::FORM
{
'component'
},
product
=>
$::FORM
{
'product'
}});
product
=>
$::FORM
{
'product'
}});
DoComma
();
DoComma
();
...
...
template/en/default/global/code-error.html.tmpl
View file @
982de31e
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
[% ELSIF error == "invalid_component" %]
[% ELSIF error == "invalid_component" %]
[% title = "Invalid Component" %]
[% title = "Invalid Component" %]
The [%
component
FILTER html %] component doesn't exist in the
The [%
name
FILTER html %] component doesn't exist in the
[% product FILTER html %] product.
[% product FILTER html %] product.
[% ELSIF error == "invalid_dimensions" %]
[% ELSIF error == "invalid_dimensions" %]
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
is invalid.
is invalid.
[% ELSIF error == "flag_type_component_nonexistent" %]
[% ELSIF error == "flag_type_component_nonexistent" %]
The component <em>[%
component
FILTER html %]</em> does not exist
The component <em>[%
name
FILTER html %]</em> does not exist
in the product <em>[% product FILTER html %]</em>.
in the product <em>[% product FILTER html %]</em>.
[% ELSIF error == "flag_type_component_without_product" %]
[% ELSIF error == "flag_type_component_without_product" %]
...
...
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