Ad Widget

Collapse

Problems with IT Services GUI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mizaring
    Junior Member
    • Jul 2007
    • 26

    #1

    Problems with IT Services GUI

    Hi all,

    We have a pretty serious problem with the display of the IT Services in version 1.6.1 (which was probably present in previous version). We are using a IT Services structure that look like this :

    Service 1
    - Sub Service 1 - 1
    - - Sub Service 1 - 1 - 1
    - - Sub Service 1 - 1 - 2
    - Sub Service 1 - 2
    - - Sub Service 1 - 2 - 1
    - - Sub Service 1 - 2 - 2

    Service 2
    - Sub Service 2 - 1
    - Sub Service 2 - 2 (soft link to Service 1)
    - Sub Service 2 - 3 (soft link to Sub Service 3 - 1 - 1)
    - Sub Service 2 - 4 (soft link to Sub Service 3 - 1 - 3)

    Service 3
    - Sub Service 3 - 1
    - - Sub Service 3 - 1 - 1
    - - Sub Service 3 - 1 - 2
    - Sub Service 3 - 2
    - - Sub Service 3 - 2 - 1
    - - Sub Service 3 - 2 - 2

    When we try to expand (with the "+" sign) the "Service 2", either nothing happen or another item from "Service 3" is shown. We can barely edit our IT Services configuration anymore, we found a way but it ain't pretty. Using the "Sort order" to put "Service 2" after "Service 3" seem to make things a little better but we still get some weird behavior with the expand action.

    Neither do we see the soft links under "Service 2"

    Can someone confirm this and see what can be done to correct this behavior. Thanks for all the good work!

    MAG
    Last edited by mizaring; 03-12-2008, 08:22.
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    What browser you're using?
    Zabbix | ex GUI developer

    Comment

    • mizaring
      Junior Member
      • Jul 2007
      • 26

      #3
      I tried with both Internet Explorer 7 and Firefox 3.0.4, both have the problem. Thanks.

      MAG

      Comment

      • mizaring
        Junior Member
        • Jul 2007
        • 26

        #4
        This is the error I get in Firefox :

        Erreur*: uncaught exception: JSTree ERROR [closeSNodeX]: JSTree ERROR [OpenNode]: TypeError: document.getElementById("id_" + nodelist[i]) is null

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #5
          Registered in our bug tracking system as ZBX-620. Thank you. Will be fixed ASAP.

          Fixed!
          Change include/services.inc.php ~697:
          PHP Code:
          $temp[$rows['serviceid'].','.$linkid]=$rows
          to:
          PHP Code:
          $temp[$rows['serviceid'].'.'.$linkid]=$rows
          Last edited by Aly; 04-12-2008, 15:56. Reason: fixed.
          Zabbix | ex GUI developer

          Comment

          • mizaring
            Junior Member
            • Jul 2007
            • 26

            #6
            You also need to change the following to make it work in the configuration section :

            Change include/services.inc.php ~664:

            Code:
            $temp[$rows['serviceid'].','.$linkid]=$rows;
            to

            Code:
            $temp[$rows['serviceid'].'.'.$linkid]=$rows;
            Thanks for your time.

            MAG

            Comment

            Working...