зеркало из https://github.com/mozilla/pjs.git
Bug 365696: Posting a new bug via email_in.pl fails due to typo in default platform and severity - Patch by Albert Ting <altlst@sonic.net> r=mkanat a=myk
This commit is contained in:
Родитель
75c61211f3
Коммит
5b2d12c6b8
|
@ -65,10 +65,10 @@ use constant REQUIRED_ENTRY_FIELDS => qw(
|
|||
version
|
||||
|
||||
assigned_to
|
||||
platform
|
||||
rep_platform
|
||||
op_sys
|
||||
priority
|
||||
severity
|
||||
bug_severity
|
||||
bug_file_loc
|
||||
);
|
||||
|
||||
|
@ -175,10 +175,10 @@ sub post_bug {
|
|||
|
||||
debug_print('Posting a new bug...');
|
||||
|
||||
$fields{'platform'} ||= Bugzilla->params->{'defaultplatform'};
|
||||
$fields{'rep_platform'} ||= Bugzilla->params->{'defaultplatform'};
|
||||
$fields{'op_sys'} ||= Bugzilla->params->{'defaultopsys'};
|
||||
$fields{'priority'} ||= Bugzilla->params->{'defaultpriority'};
|
||||
$fields{'severity'} ||= Bugzilla->params->{'defaultseverity'};
|
||||
$fields{'bug_severity'} ||= Bugzilla->params->{'defaultseverity'};
|
||||
|
||||
foreach my $field (REQUIRED_ENTRY_FIELDS) {
|
||||
$fields{$field} ||= '';
|
||||
|
|
Загрузка…
Ссылка в новой задаче