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
c4246f55
Commit
c4246f55
authored
Feb 17, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Was crapping out if strictvaluechecks was turned on.
parent
e9a32920
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
post_bug.cgi
post_bug.cgi
+17
-17
No files found.
post_bug.cgi
View file @
c4246f55
...
...
@@ -73,23 +73,6 @@ if (!defined $::FORM{'short_desc'} || trim($::FORM{'short_desc'}) eq "") {
exit
;
}
if
(
Param
(
"strictvaluechecks"
)
)
{
GetVersionTable
();
CheckFormField
(
\%::
FORM
,
'reporter'
);
CheckFormField
(
\%::
FORM
,
'product'
,
\
@::legal_product
);
CheckFormField
(
\%::
FORM
,
'version'
,
\
@
{
$::versions
{
$::FORM
{
'product'
}}});
CheckFormField
(
\%::
FORM
,
'rep_platform'
,
\
@::legal_platform
);
CheckFormField
(
\%::
FORM
,
'bug_severity'
,
\
@::legal_severity
);
CheckFormField
(
\%::
FORM
,
'priority'
,
\
@::legal_priority
);
CheckFormField
(
\%::
FORM
,
'op_sys'
,
\
@::legal_opsys
);
CheckFormFieldDefined
(
\%::
FORM
,
'assigned_to'
);
CheckFormField
(
\%::
FORM
,
'bug_status'
,
\
@::legal_bug_status
);
CheckFormFieldDefined
(
\%::
FORM
,
'bug_file_loc'
);
CheckFormField
(
\%::
FORM
,
'component'
,
\
@
{
$::components
{
$::FORM
{
'product'
}}});
CheckFormFieldDefined
(
\%::
FORM
,
'comment'
);
}
my
$forceAssignedOK
=
0
;
if
(
$::FORM
{
'assigned_to'
}
eq
""
)
{
SendSQL
(
"select initialowner from components where program="
.
...
...
@@ -136,6 +119,23 @@ if (!exists $::FORM{'bug_status'}) {
}
if
(
Param
(
"strictvaluechecks"
)
)
{
GetVersionTable
();
CheckFormField
(
\%::
FORM
,
'reporter'
);
CheckFormField
(
\%::
FORM
,
'product'
,
\
@::legal_product
);
CheckFormField
(
\%::
FORM
,
'version'
,
\
@
{
$::versions
{
$::FORM
{
'product'
}}});
CheckFormField
(
\%::
FORM
,
'rep_platform'
,
\
@::legal_platform
);
CheckFormField
(
\%::
FORM
,
'bug_severity'
,
\
@::legal_severity
);
CheckFormField
(
\%::
FORM
,
'priority'
,
\
@::legal_priority
);
CheckFormField
(
\%::
FORM
,
'op_sys'
,
\
@::legal_opsys
);
CheckFormFieldDefined
(
\%::
FORM
,
'assigned_to'
);
CheckFormField
(
\%::
FORM
,
'bug_status'
,
\
@::legal_bug_status
);
CheckFormFieldDefined
(
\%::
FORM
,
'bug_file_loc'
);
CheckFormField
(
\%::
FORM
,
'component'
,
\
@
{
$::components
{
$::FORM
{
'product'
}}});
CheckFormFieldDefined
(
\%::
FORM
,
'comment'
);
}
my
@used_fields
;
foreach
my
$f
(
@bug_fields
)
{
if
(
exists
$::FORM
{
$f
})
{
...
...
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