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
ccdebf77
Commit
ccdebf77
authored
Aug 25, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 446327: WebService faultCode is a string when a script "die"s
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
parent
d8b02aff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
xmlrpc.cgi
xmlrpc.cgi
+5
-0
No files found.
xmlrpc.cgi
View file @
ccdebf77
...
...
@@ -22,6 +22,7 @@ use Bugzilla;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Hook
;
use
Bugzilla::WebService::
Constants
;
# Use an eval here so that runtests.pl accepts this script even if SOAP-Lite
# is not installed.
...
...
@@ -30,6 +31,10 @@ eval 'use XMLRPC::Transport::HTTP;
$@
&&
ThrowCodeError
(
'soap_not_installed'
);
Bugzilla
->
usage_mode
(
Bugzilla::Constants::
USAGE_MODE_WEBSERVICE
);
local
$
SOAP::Constants::
FAULT_SERVER
=
ERROR_UNKNOWN_FATAL
;
# The line above is used, this one is ignored, but SOAP::Lite
# might start using this constant (the correct one) for XML-RPC someday.
local
$
XMLRPC::Constants::
FAULT_SERVER
=
ERROR_UNKNOWN_FATAL
;
my
%
hook_dispatch
;
Bugzilla::Hook::
process
(
'webservice'
,
{
dispatch
=>
\%
hook_dispatch
});
...
...
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