[Pkg-cacti-maint] Bug#702690: cacti: Multilevel tree doesn't work with jstree in 0.8.8a+dfsg-3

Jan Zalesak zalesak at jaw.cz
Sun Mar 10 08:52:32 UTC 2013


Package: cacti
Version: 0.8.8a+dfsg-3
Severity: normal

Hi,
I've found this bug after upgrading from 0.8.8a to 0.8.8a+dfsg-3. My multilevel tree in cacti stopped work.
All nodes in every tree were in it's root. Only tree itself could be expanded/colapsed.

I've done some research and the problem is probably that JSTree expects every subbranch in nested <ul> but
original cacti code generates only one level <ul> for whole tree.

I modified code in way to work for me. I'm providing diff if someone is interested.


-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cacti depends on:
ii  dbconfig-common                          1.8.47+nmu1
ii  debconf [debconf-2.0]                    1.5.49
ii  libapache2-mod-php5                      5.4.4-14
ii  libphp-adodb                             5.15-1
ii  mysql-client-5.5 [virtual-mysql-client]  5.5.28+dfsg-1
ii  perl                                     5.14.2-19
ii  php5-cli                                 5.4.4-14
ii  php5-mysql                               5.4.4-14
ii  php5-snmp                                5.4.4-14
ii  rrdtool                                  1.4.7-2
ii  snmp                                     5.4.3~dfsg-2.7
ii  ucf                                      3.0025+nmu3

Versions of packages cacti recommends:
ii  apache2-mpm-prefork [httpd]  2.2.22-12
ii  iputils-ping                 3:20101006-1+b1
ii  libjs-jquery                 1.7.2+dfsg-1
ii  libjs-jquery-cookie          6-1
ii  logrotate                    3.8.1-4
ii  mysql-server                 5.5.28+dfsg-1



More information about the Pkg-cacti-maint mailing list