Bug 1004548
Summary: | Tree not collapsing in graph mode in version 0.8.8b | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | network.operations | ||||
Component: | cacti | Assignee: | Gwyn Ciesla <gwync> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | el6 | CC: | gwync, kevin.johnston, ktdreyer, marco.tizzoni | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | cacti-0.8.8g-1.el7 cacti-0.8.8g-2.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-10 14:42:41 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
That's odd. Are you logged into Cacti, or browsing as a guest? Logged in with full privileges. I found some stuff online in which Debian users were having the same problem. They had to install a couple packages to get jquery and jquery-cookie. I did notice that the EPEL package includes both located in /usr/share/cacti/include/js/jquery. Just mentioning it in case it helps. There are no messages being generated in /var/log/httpd/error.log or in /var/log/audit/audit.log. We did turn on some debugging in a browser and got some javascript error messages. I will get you those messages in the morning. The two javascript errors we get loading the page are: - ReferenceError: findObj is not defined - TypeError: $(...).jstree is not a function We are using the Firebug extension in Firefox. Something to note, Ken did a build containing a patch for thumbnails not showing. https://bugzilla.redhat.com/show_bug.cgi?id=1004550 http://kojipkgs.fedoraproject.org//work/tasks/6555/5896555/cacti-0.8.8b-2.1.el6.noarch.rpm That is what we are running now. Just checking in to see if you have found anything yet. Please accept my apologies, but I don't know when I will be able to get to this, and I'm unable to duplicate it on my own Cacti installs. I recommend contacting upstream about this, or the original author of the Debian patch (Paul Gevers <elbrus>) If you're able to come up with a new patch to this package, please attach it to this bug report. I reverted to using treeview from an older version of Cacti. Tree is fine again. Guess we'll see what the next release is like then. Please note that there are many security vulnerabilities in the older version of Cacti in EPEL that contained treeview. We need someone with web dev experience to duplicate your issue and submit a patch. The issue is caused by clashing versions of jquery brought into Cacti by different plugins, namely Superlinks and Reportit. The issue can be replicated by installing one or both the mentioned plugins and can be solved by simply removing the following files from the file system: - reportit: /usr/share/cacti/plugins/reportit/lib_ext/jquery/jquery-1.4.2.min.js - superlinks: /usr/share/cacti/plugins/reportit/lib_ext/jquery/jquery-1.4.2.min.js It is not a clean solution (code should be patched upstream) but works. Thanks Marco. I am wondering if this may cause an issue with ReportIt. I removed /usr/share/cacti/plugins/reportit/lib_ext/jquery/jquery-1.4.2.min.js After doing that, error messages in /var/log/httpd/error_log started to appear: [Tue May 20 19:40:36 2014] [error] [client xxx.xxx.xxx.xxx] File does not exist: /usr/share/cacti/plugins/reportit/lib_ext/jquery/jquery-1.4.2.min.js, referer: http://xxx.xxx.xxx.xxx/cacti/index.php I haven't moved this system into production yet; I am setting this system up to replace a Windows system. I am hoping ReportIt will function once I move it into production. Thanks. The package has been retired in Rawhide for a while. See http://forums.cacti.net/viewtopic.php?f=2&t=53607 and https://lists.fedoraproject.org/pipermail/devel/2014-October/203695.html Today I've removed myself from the package in pkgdb. Jon, please feel free to orphan or retire this package in EPEL. cacti-0.8.8g-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c731bc5ec0 cacti-0.8.8g-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-45e9f8440b cacti-0.8.8g-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-45e9f8440b cacti-0.8.8g-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c731bc5ec0 cacti-0.8.8g-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. cacti-0.8.8g-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 793882 [details] Screenshot of problem Description of problem: The tree is not collapsing in graph mode in version 0.8.8b. Just one big list. The hierarchy still exists, but there a no plus or minus signs anymore. Version-Release number of selected component (if applicable): 0.8.8b How reproducible: Every time Steps to Reproduce: 1. Upgrade to Cacti version 0.8.8b 2. 3. Actual results: Tree will not collapse. Expected results: Tree should both expand and collapse. Additional info: