Bug 1143354 (part 1): unknown_action is now a user error instead of a code error

git-svn-id: svn://10.0.0.236/trunk@265872 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2015-03-15 14:30:16 +00:00
parent 5d10359685
commit 24a1f9d122
7 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
685
686

View File

@ -1 +1 @@
d68ed0c21f4c6e39de7e909c651c20d76028b482
f1c2c3a9c4b0518f3b14eacea0abdfb84dddbdad

View File

@ -1,7 +1,7 @@
<?php
// by Edd Dumbill (C) 1999-2002
// <edd@usefulinc.com>
// $Id: .xmlrpc.inc.php,v 1.48 2015-03-15 00:00:26 bzrmirror%bugzilla.org Exp $
// $Id: .xmlrpc.inc.php,v 1.49 2015-03-15 14:30:16 bzrmirror%bugzilla.org Exp $
// Copyright (c) 1999,2000,2002 Edd Dumbill.
// All rights reserved.

View File

@ -109,7 +109,7 @@ else{
$vars->{'data'} = $report->{'image_data'};
}
else {
ThrowCodeError("unknown_action", {action => $cgi->param('report_action')});
ThrowUserError("unknown_action", {action => $cgi->param('report_action')});
}
my $format = $template->get_format("testopia/reports/report", $formatparam,

View File

@ -75,7 +75,7 @@ else{
$vars->{'data'} = $report->{'image_data'};
}
else {
ThrowCodeError("unknown_action", {action => $cgi->param('report_action')});
ThrowUserError("unknown_action", {action => $cgi->param('report_action')});
}
my $format = $template->get_format("testopia/reports/report", $formatparam,

View File

@ -187,7 +187,7 @@ else{
$vars->{'data'} = $report->{'image_data'};
}
else {
ThrowCodeError("unknown_action", {action => $cgi->param('report_action')});
ThrowUserError("unknown_action", {action => $cgi->param('report_action')});
}
my $format = $template->get_format("testopia/reports/report", $formatparam,

View File

@ -369,7 +369,7 @@ elsif ($report_action eq "plot") {
$vars->{'data'} = $report->{'image_data'};
}
else {
ThrowCodeError("unknown_action", {action => $cgi->param('report_action')});
ThrowUserError("unknown_action", {action => $cgi->param('report_action')});
}
my $format = $template->get_format("testopia/reports/report", $formatparam,