REST 接口功能在此 Bugzilla 中不可用

The REST Interface feature is not available in this Bugzilla

我已经安装了 Bugzilla 5.0.2 并尝试通过 REST 访问它 Api 但我无法访问它。

我收到以下消息。

"The REST Interface feature is not available in this Bugzilla."

我尝试访问 http://bugzillaserver/bugzilla/rest.cgi 来自浏览器

但这也会显示相同的消息。

问题出在可选的 perl 模块上。

安装了可选的 perl 模块,现在可以正常工作了。

解决这个问题的主要模块是JSON::RPC (any) for the JSON-RPC interface

同样的问题解决了 所有 SOAP、RCP 相关的 perl 模块 和 ppm 安装测试污点 Perl 版本使用 ActivePerl-5.24.3.2404

我已经安装了 JSON::RPC;缺少的位是 Test::Taint,与 cpanm Test::Taint 一起安装。
checksetup.pl 也在此框内报告:

***********************************************************************
* 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)                                    *
***********************************************************************
*  ...                                                                *
*  Test-Taint * JSON-RPC Interface, XML-RPC Interface, REST Interface *
***********************************************************************