Parameters for modules which are not installed should not be editable through editparams.cgi




4 years ago
4 years ago


(Reporter: Martijn.Ras, Unassigned)





4 years ago
I think parameters for modules which are not installed should not be editable through editparams.cgi.

I have not installed perl-ldap, Authen-SASL, RadiusPerl or Cache-Memcached, so there's no need for the following sections:

- ldap
- radius
- memcached

I'm assuming not showing these sections should not be that hard to implement.

$ ./
* This is Bugzilla 4.5.6 on perl 5.18.4
* Running on Linux #1 SMP PREEMPT Thu Jul 24 22:27:56 UTC 2014

Checking perl modules...
Checking for      (v3.51)     ok: found v4.04
Checking for           Digest-SHA (any)       ok: found v5.85
Checking for             TimeDate (v2.23)     ok: found v2.24
Checking for             DateTime (v0.75)     ok: found v1.06
Checking for    DateTime-TimeZone (v1.64)     ok: found v1.75
Checking for                  DBI (v1.614)    ok: found v1.63
Checking for     Template-Toolkit (v2.24)     ok: found v2.25
Checking for         Email-Sender (v1.300011) ok: found v1.300016
Checking for           Email-MIME (v1.904)    ok: found v1.924
Checking for                  URI (v1.55)     ok: found v1.60
Checking for       List-MoreUtils (v0.32)     ok: found v0.33
Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004
Checking for           File-Slurp (v9999.13)  ok: found v9999.19
Checking for              JSON-XS (v2.01)     ok: found v2.34

Checking available perl DBD modules...
Checking for           DBD-Oracle (v1.19)     not found 
Checking for           DBD-SQLite (v1.29)     not found 
Checking for               DBD-Pg (v2.7.0)    not found 
Checking for            DBD-mysql (v4.001)    ok: found v4.024

The following Perl modules are optional:
Checking for                   GD (v1.20)     ok: found v2.49
Checking for                Chart (v2.4.1)    ok: found v2.4.6
Checking for          Template-GD (any)       ok: found v1.56
Checking for           GDTextUtil (any)       ok: found v0.86
Checking for              GDGraph (any)       ok: found v1.48
Checking for           MIME-tools (v5.406)    ok: found v5.505
Checking for          libwww-perl (any)       ok: found v6.05
Checking for             XML-Twig (any)       ok: found v3.44
Checking for          PatchReader (v0.9.6)    ok: found v0.9.6
Checking for            perl-ldap (any)       not found 
Checking for          Authen-SASL (any)       not found 
Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.01
Checking for           RadiusPerl (any)       not found 
Checking for            SOAP-Lite (v0.712)    ok: found v0.716
Checking for          XMLRPC-Lite (v0.712)    ok: found v0.716
Checking for             JSON-RPC (any)       ok: found v1.03
Use of uninitialized value in join or string at /usr/lib/perl5/vendor_perl/Test/ line 329.
Checking for           Test-Taint (v1.06)     ok: found v1.06
Checking for          HTML-Parser (v3.67)     ok: found v3.71
Checking for        HTML-Scrubber (any)       ok: found v0.08
Checking for               Encode (v2.21)     ok: found v2.54
Checking for        Encode-Detect (any)       ok: found v1.01
Checking for          Email-Reply (any)       ok: found v1.202
Checking for HTML-FormatText-WithLinks (v0.13)     ok: found v0.14
Checking for          TheSchwartz (v1.07)     ok: found v1.10
Checking for       Daemon-Generic (any)       ok: found v0.83
Checking for             mod_perl (v1.999022) ok: found v2.000009
Checking for     Apache-SizeLimit (v0.96)     ok: found v0.97
Checking for        File-MimeInfo (any)       ok: found v0.17
Checking for           IO-stringy (any)       ok: found v2.110
Checking for      Cache-Memcached (any)       not found 
Checking for        Text-Markdown (v1.0.26)   ok: found v1.000029
Checking for          mod_headers (any)       ok
Checking for              mod_env (any)       ok
Checking for          mod_expires (any)       ok
* 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)                                *
*       perl-ldap * LDAP Authentication                               *
*     Authen-SASL * SMTP Authentication                               *
*      RadiusPerl * RADIUS Authentication                             *
* Cache-Memcached * Memcached Support                                 *

      perl-ldap: /usr/bin/perl Net::LDAP
    Authen-SASL: /usr/bin/perl Authen::SASL
     RadiusPerl: /usr/bin/perl Authen::Radius
Cache-Memcached: /usr/bin/perl Cache::Memcached

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl --all


4 years ago
Severity: normal → enhancement
You need to log in before you can comment on or make changes to this bug.