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
60ac8cee
Commit
60ac8cee
authored
Sep 25, 2004
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Landing fix for bug 153811: default severity should be parametrized.
r,a=myk.
parent
da7ecb07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
defparams.pl
defparams.pl
+18
-0
enter_bug.cgi
enter_bug.cgi
+1
-1
No files found.
defparams.pl
View file @
60ac8cee
...
...
@@ -66,6 +66,16 @@ sub check_priority {
return
""
;
}
sub
check_severity
{
my
(
$value
)
=
(
@_
);
&::
GetVersionTable
();
if
(
lsearch
(
\
@::legal_severity
,
$value
)
<
0
)
{
return
"Must be a legal severity value: one of "
.
join
(
", "
,
@::legal_severity
);
}
return
""
;
}
sub
check_platform
{
my
(
$value
)
=
(
@_
);
&::
GetVersionTable
();
...
...
@@ -761,6 +771,14 @@ You will get this message once a day until you\'ve dealt with these bugs!
},
{
name
=>
'defaultseverity'
,
desc
=>
'This is the severity that newly entered bugs are set to.'
,
type
=>
't'
,
default
=>
'normal'
,
checker
=>
\&
check_severity
},
{
name
=>
'defaultplatform'
,
desc
=>
'This is the platform that is preselected on the bug '
.
'entry form.<br>'
.
...
...
enter_bug.cgi
View file @
60ac8cee
...
...
@@ -327,7 +327,7 @@ $vars->{'priority'} = \@legal_priority;
$default
{
'priority'
}
=
formvalue
(
'priority'
,
Param
(
'defaultpriority'
));
$vars
->
{
'bug_severity'
}
=
\
@legal_severity
;
$default
{
'bug_severity'
}
=
formvalue
(
'bug_severity'
,
'normal'
);
$default
{
'bug_severity'
}
=
formvalue
(
'bug_severity'
,
Param
(
'defaultseverity'
)
);
$vars
->
{
'rep_platform'
}
=
\
@legal_platform
;
$default
{
'rep_platform'
}
=
pickplatform
();
...
...
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