Bug#898686: ocsinventory-reports: Deployement stats pie chart isn't shown
Cyrille Bollu
cyrille.bollu2 at gmail.com
Tue May 15 08:27:14 BST 2018
Package: ocsinventory-reports
Version: 2.4.1+dfsg-1
Severity: normal
Dear Maintainer,
when looking at a deployement statistics pie chart page, the doughnut chart isn't displayed.
The related links are in the form:
http://ocsi-server.acme.org/ocsreports/index.php?function=tele_stat&head=1&stat=1526368515
where "ocsi-server.acme.org" is the fqhn fo your ocsinventory-report server, and "1526368515" is
a deployement identifier (timestamp).
When loading this page, Firefox's console shows the following error:
TypeError: window.myDoughnut.generateLegend is not a function
window.onload http://ocsi-server.acme.org/ocsreports/index.php:96:75
the link given in the error message actually refers to file "require/charts/StatsChartsRenderer.php"
My web frontend development skills are unfortunately not good enough to resolve this issue.
Cyrille
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ocsinventory-reports depends on:
ii default-mysql-client 1.0.4
ii ieee-data 20180204.1
ii javascript-common 11
ii libapache2-mod-php 1:7.2+61
ii libapache2-mod-php7.2 [libapache2-mod-php] 7.2.4-1
ii libjs-bootstrap 3.3.7+dfsg-2
ii libjs-chartjs 1.0.2-1
ii libjs-jquery 3.2.1-1
ii libjs-jquery-datatables 1.10.16+dfsg-1
ii libjs-jquery-file-upload 9.21.0-1
ii libjs-jquery-migrate-1 1.4.1-1
ii libjs-jquery-ui 1.12.1+dfsg-5
ii mariadb-client-10.1 [virtual-mysql-client] 1:10.1.29-6
ii perl 5.26.2-3
ii php 1:7.2+61
ii php-cas 1.3.3-4
ii php-gd 1:7.2+61
ii php-imap 1:7.2+61
ii php-ldap 1:7.2+61
ii php-mbstring 1:7.2+61
ii php-mysql 1:7.2+61
ii php-pclzip 2.8.2-4
ii php-soap 1:7.2+61
ii php-xml 1:7.2+61
ii php7.2 [php] 7.2.4-1
ii php7.2-gd [php-gd] 7.2.4-1
ii php7.2-imap [php-imap] 7.2.4-1
ii php7.2-ldap [php-ldap] 7.2.4-1
ii php7.2-mbstring [php-mbstring] 7.2.4-1
ii php7.2-soap [php-soap] 7.2.4-1
ii php7.2-xml [php-xml] 7.2.4-1
ii phpqrcode 1.1.4-2
Versions of packages ocsinventory-reports recommends:
ii apache2 [httpd] 2.4.29-2
ii libdbd-mysql-perl 4.046-1
ii libdbi-perl 1.641-1
ii libnet-ip-perl 1.26-1
ii libxml-simple-perl 2.25-1
pn nmap <none>
ii ocsinventory-server 2.4.1+dfsg-1
pn samba-common <none>
ocsinventory-reports suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list