[dev.icinga.com #11732] Classic UI hides menu items (JQuery 1.11, Debian/Ubuntu) #1580
Comments
Updated by mfriedrich on 2016-05-06 07:21:23 +00:00
|
Updated by pstiffel on 2016-05-12 09:07:33 +00:00 I second that, same problem here with Ubuntu 16.04 LTS.
Found out, that the libjs-jquery-Version of ubuntu 16.04 is the problem:
When downgrading to libjs-jquery 1.7.2 (e.g. from the wily-repo), the menu is shown without the workaround of commenting out the .toggle-stuff:
|
Updated by mfriedrich on 2016-05-21 15:59:44 +00:00
|
Updated by mfriedrich on 2016-05-21 16:01:07 +00:00
Only happens with changed dependencies on Debian/Ubuntu pointing to 1.11 packages. The JQuery version from inside the released tarball works fine. |
Updated by lcars84 on 2016-05-30 13:23:11 +00:00 How about this?
I came across this problem a couple of times already and the general recommendation appears to be to build the "toggle" yourself by simply remembering the toggle state somehow. In this case, I'm simply adding a class "collapsed" but one may also work with |
Updated by ziesemer on 2016-06-21 01:25:05 +00:00 I almost ended up reporting this as a duplicate, as I just spent over an hour rediscovering everything that was already reported above. : Will apply one of the above workarounds for now - or inspired by dnsmichi's comment - just ignore at least a portion of the OS package for now, and overwrite with at least a portion of a tarball release extract. I'd then hope that once the OS package is updated with a fix, my changes would at least be prompted for overwrite. In summary, +1 in waiting for a fix here, please! |
Updated by ricardo on 2016-06-21 21:34:56 +00:00
will try to switch to newest 1.x jquery library. |
Updated by nacc on 2016-07-05 20:02:22 +00:00 ricardo wrote:
Just as an FYI, I'm the downstream Ubuntu developer watching this issue (https://bugs.launchpad.net/ubuntu/+source/icinga/+bug/1593319). If we can get a suggested fix, I can get that sent up to Debian and Ubuntu as appropriate. -Nish |
Updated by ricardo on 2016-07-14 00:00:08 +00:00
Hi, could someone test it please? Thank you |
Updated by nacc on 2016-07-14 00:36:17 +00:00 ricardo wrote:
For those using Ubuntu 16.04, I'll build a test package in a PPA and update the Launchpad bug. -Nish |
Updated by nacc on 2016-07-14 15:36:45 +00:00 nacc wrote:
Build provided, I ran a quick test in a LXD container of 16.04 and it seemed to work fine (at least the menu doesn't run away :). Thanks! -Nish |
Updated by ricardo on 2016-07-14 20:34:38 +00:00 great, thank you for testing. and thanks to lcars84, I totally used your suggestion. Cheers |
Updated by ricardo on 2016-07-18 21:04:33 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11732
Created by frenzy on 2016-05-05 18:38:06 +00:00
Assignee: ricardo
Status: Resolved (closed on 2016-07-18 21:04:33 +00:00)
Target Version: 1.14
Last Update: 2016-07-18 21:04:33 +00:00 (in Redmine)
Hi.
I've installed icinga2 with the classic interface and configure it to monitor only one host and two services on them. Everything looks ok but then I try to show the classic web UI and there I've found the bug.
Before the page is fully loaded, everything is ok (screen1). After that, Javascript hides every item in the left menu (screen2).
I found that the problematic part of code is in /usr/share/icinga2/classicui/js/menu.js:
Actual problem solution is to comment out "toggle" call in this part of JS file.
System: Ubuntu Server 16.04 LTS
Icinga2 version: 2.4.1-2ubuntu1
Installed packages:
icinga-cgi-bin
icinga2
icinga2-bin
icinga2-classicui
icinga2-common
icinga2-doc
libicinga2
Have a nice day.
Attachments
Changesets
2016-07-13 23:44:49 +00:00 by ricardo d3158e0
The text was updated successfully, but these errors were encountered: