Closed
Bug 317003
Opened 19 years ago
Closed 19 years ago
Change the listing of valid fields values in bug_email.pl
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: tiagoratto, Assigned: gabriel.sales)
References
Details
Attachments
(1 file)
4.03 KB,
patch
|
goobix
:
review+
|
Details | Diff | Splinter Review |
Since the valid values aren't described on the table field type anymore, it's necessary to chance the validation Subs of bug_email.pm to use the descriptor tables.
This is part of the reply:
You sent wrong priority-setting, valid values are:varchar(64
* The priority is set to the default value ''
You sent wrong bug_severity-setting, valid values are:varchar(64
* The bug_severity is set to the default value 'normal'
You sent wrong platform-setting, valid values are:varchar(64
* The rep_platform is set to the default value 'All'
You sent wrong OS-setting, valid values are:varchar(64
* The op_sys is set to the default value 'Linux'
These are the Subs that have to be changed:
sub CheckPriority
sub CheckSeverity
sub CheckPlatform
sub CheckSystem
Reporter | ||
Comment 1•19 years ago
|
||
> Since the valid values aren't described on the table field type anymore, it's
> necessary to chance the validation Subs of bug_email.pm to use the descriptor
> tables.
>
> This is part of the reply:
>
> You sent wrong priority-setting, valid values are:varchar(64
>
> * The priority is set to the default value ''
>
> You sent wrong bug_severity-setting, valid values are:varchar(64
>
> * The bug_severity is set to the default value 'normal'
>
> You sent wrong platform-setting, valid values are:varchar(64
>
> * The rep_platform is set to the default value 'All'
>
> You sent wrong OS-setting, valid values are:varchar(64
>
> * The op_sys is set to the default value 'Linux'
>
>
> These are the Subs that have to be changed:
>
> sub CheckPriority
> sub CheckSeverity
> sub CheckPlatform
> sub CheckSystem
>
Acctually, the only Sub that have to be changed is Sub getEnumList
(In reply to comment #0)
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•19 years ago
|
||
Attachment #203538 -
Flags: review?(vladd)
Reporter | ||
Updated•19 years ago
|
Assignee: create-and-change → tiagoratto
Status: ASSIGNED → NEW
Reporter | ||
Updated•19 years ago
|
Attachment #203538 -
Flags: review?(vladd) → review?
Reporter | ||
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 2.24
Updated•19 years ago
|
Summary: Change the listing of valid fileds values in bug_email.pm → Change the listing of valid fileds values in bug_email.pl
![]() |
||
Comment 3•19 years ago
|
||
*** Bug 321843 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Assignee: tiagoratto → create-and-change
Comment 4•19 years ago
|
||
This is a bug introduced by bug 146104 , so the fix should go in 2.20.
Assignee: create-and-change → tiagoratto
Summary: Change the listing of valid fileds values in bug_email.pl → Change the listing of valid fields values in bug_email.pl
Target Milestone: Bugzilla 2.24 → Bugzilla 2.20
Comment 5•19 years ago
|
||
Comment on attachment 203538 [details] [diff] [review]
Patch v1
You are inconsistent with spacing near the equal sign ("=") and near the ( ) signs:
- my @all_sever = getEnumList( "bug_severity" );
+ my $all_sever = getEnumList("bug_severity");
- my @all= getEnumList( "area" );
+ my $all= getEnumList( "area" );
- my @all = getEnumList( "rep_platform" );
+ my $all = getEnumList( "rep_platform" );
but that can be fixed upon checkin.
Attachment #203538 -
Flags: review? → review+
Comment 6•19 years ago
|
||
Not sure if we need approval for contrib.
Flags: approval?
Flags: approval2.20?
Assignee | ||
Updated•19 years ago
|
Assignee: tiagoratto → gabriel
Updated•19 years ago
|
Flags: approval?
Flags: approval2.22+
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
Comment 7•19 years ago
|
||
Checking in contrib/bug_email.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/bug_email.pl,v <-- bug_email.pl
new revision: 1.32; previous revision: 1.31
done
Checking in contrib/bug_email.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/bug_email.pl,v <-- bug_email.pl
new revision: 1.31.2.1; previous revision: 1.31
done
Checking in contrib/bug_email.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/bug_email.pl,v <-- bug_email.pl
new revision: 1.28.2.1; previous revision: 1.28
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•