Acontece que este é um bug conhecido.
Eu estou tentando configurar o BugZilla para receber, mas relatórios de outro sistema usando a interface XML-RPC.
O BugZilla funciona bem por conta própria com sua própria interface.
Quando tento testar a funcionalidade XML-RPC acessando "xmlrpc.cgi" no meu navegador, recebo o erro:
The XML-RPC Interface feature is not available in this Bugzilla
at C:\BugZilla\xmlrpc.cgi line 27
main::BEGIN(...) called at C:\BugZilla\xmlrpc.cgi line 29
eval {...} called at C:\BugZilla\xmlrpc.cgi line 29
Após isso eu instalo o pacote test-taint do repositório perl padrão, isso instala a versão 1.04. Executar novamente "xmlrpc.cgi" me dá um erro do IIS:
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Então eu corro o checksetup.pl que me informa que:
Use of uninitialized value in open at C:/Perl/site/lib/Test/Taint.pm line 334, <DATA> line 558.
A instalação do teste de contaminação do CPAN é a mesma. Eu assumo que o XML-RPC é baseado no Test-Taint, mas o Test-Taint parece não rodar corretamente.
Se eu ignorar esse erro e tentar invocar "bz_webservice_demo.pl" para adicionar uma entrada, o script expira.
Como posso fazer funcionar a função XML-RPC / Test-Taint?
Configuração atual: IIS7.5 no Windows Server 2008 Bugzilla 4.2.2 Perl 5.14.2
C:\BugZilla>perl checksetup.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)
* This is Bugzilla 4.2.2 on perl 5.14.2
* Running on Win2008 Build 6002 (Service Pack 2)
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.59
Checking for Digest-SHA (any) ok: found v5.62
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.76
Checking for DateTime-TimeZone (v0.79) ok: found v1.48
Checking for DBI (v1.614) ok: found v1.622
Checking for Template-Toolkit (v2.22) ok: found v2.24
Checking for Email-Send (v2.16) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.911
Checking for URI (v1.37) ok: found v1.59
Checking for List-MoreUtils (v0.22) ok: found v0.33
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
Checking for Win32 (v0.35) ok: found v0.44
Checking for Win32-API (v0.55) ok: found v0.64
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) ok: found v2.18.1
Checking for DBD-mysql (v4.001) ok: found v4.021
Checking for DBD-SQLite (v1.29) ok: found v1.33
Checking for DBD-Oracle (v1.19) ok: found v1.30
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.46
Checking for Chart (v2.1) ok: found v2.4.5
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for MIME-tools (v5.406) ok: found v5.503
Checking for libwww-perl (any) ok: found v6.02
Checking for XML-Twig (any) ok: found v3.41
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.44
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.20
Checking for SOAP-Lite (v0.712) ok: found v0.715
Checking for JSON-RPC (any) ok: found v0.96
Checking for JSON-XS (v2.0) ok: found v2.32
Use of uninitialized value in open at C:/Perl/site/lib/Test/Taint.pm line 334, <DATA> line 558.
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.67) ok: found v3.68
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Encode (v2.21) ok: found v2.44
Checking for Encode-Detect (any) not found
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.96) not found
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Encode-Detect * Automatic charset detection for text attachments *
* TheSchwartz * Mail Queueing *
* Daemon-Generic * Mail Queueing *
* mod_perl * mod_perl *
* Apache-SizeLimit * mod_perl *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
Encode-Detect: ppm install Encode-Detect
TheSchwartz: ppm install TheSchwartz
Daemon-Generic: ppm install Daemon-Generic
mod_perl: ppm install mod_perl
Apache-SizeLimit: ppm install Apache-SizeLimit
Reading ./localconfig...
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
http://cyberelk.net/tim/patchutils/
Checking for DBD-mysql (v4.001) ok: found v4.021
Checking for MySQL (v5.0.15) ok: found v5.5.27
WARNING: You need to set the max_allowed_packet parameter in your MySQL
configuration to at least 3276750. Currently it is set to 3275776.
You can set this parameter in the [mysqld] section of your MySQL
configuration file.
Removing existing compiled templates...
Precompiling templates...done.
checksetup.pl complete.
Acontece que este é um bug conhecido.