Ad Widget

Collapse

Version Pre 1.7.0 Build 6668 -- Buttons and Links not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Version Pre 1.7.0 Build 6668 -- Buttons and Links not working

    The following links and buttons are throwing an invalid URI on line 390 causing no action to be taken when clicked:
    • configuration -> hosts -> click on "select" under actions column (menu does not pop-up)
    • graph reset button on charts
    • favorite button "+" or "-" button on both screens and charts
    Last edited by Palmertree; 09-02-2009, 07:56.
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    Ahhh!! Where did group "All" go?!?!?
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      Originally posted by bbrendon
      Ahhh!! Where did group "All" go?!?!?
      I guess You are talking about pre 1.6.3 ? Well there are two defines introduced (soon will be in pre 1.7.x).
      Code:
      	define('ZBX_DROPDOWN_FIRST_ENTRY',		0);		// 0 - NONE, 1 - ALL
      	define('ZBX_DROPDOWN_FIRST_REMEMBER',	1);		// 0 - do NOT remember, 1 - do remember
      Zabbix | ex GUI developer

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Originally posted by Palmertree
        The following links and buttons are throwing an invalid URI on line 390 causing no action to be taken when clicked:
        • configuration -> hosts -> click on "select" under actions column (menu does not pop-up)
        • graph reset button on charts
        • favorite button "+" or "-" button on both screens and charts
        Fixed in rev. 6682
        Zabbix | ex GUI developer

        Comment

        • Palmertree
          Senior Member
          • Sep 2005
          • 746

          #5
          Aly,
          Thanks for the quick fixes.

          Fixed:
          • Favorites button works great and so does "select" under actions.

          Not working:
          • On the chart reset button, we are getting another error this time on line 213 saying "Object doesn't support this property or method" for charts.php.
          • Also, if you are viewing the configuration of items of host that are template linked items, in the past you could click on the template link in front of the item description and it would send you over to the associate template. Now it just goes to a blank screen.

          Side question:
          I like what you have done with the menu selections for groups and host for "ZBX_DROPDOWN_FIRST_ENTRY". Is there away to keep this to none (unselected) for other screens but have the trigger monitoring screen still show ALL for groups and ALL for host?

          Comment

          • Aly
            ZABBIX developer
            • May 2007
            • 1126

            #6
            Only by changing the sources. Those settings are global for frontend..
            Zabbix | ex GUI developer

            Comment

            • Aly
              ZABBIX developer
              • May 2007
              • 1126

              #7
              Originally posted by Palmertree
              Aly,
              Not working:
              • On the chart reset button, we are getting another error this time on line 213 saying "Object doesn't support this property or method" for charts.php.
              • Also, if you are viewing the configuration of items of host that are template linked items, in the past you could click on the template link in front of the item description and it would send you over to the associate template. Now it just goes to a blank screen.
              Thous were 1.7.x specific ones fixed too.
              Zabbix | ex GUI developer

              Comment

              • Palmertree
                Senior Member
                • Sep 2005
                • 746

                #8
                Aly,
                The graph reset button and the template link in item configuration is working great in Version Pre 1.7.0 Build 6694. Thanks for the quick fix.

                Other Problems:
                • Configuration -> host -> open host and click the "clone" button it keeps looping.
                • Also group permissions seem like they broke. I rolled back the build before the menu drop down changes and the problem went away. Users that can only see certain groups but not everything, can not see anything in the last few builds.

                Thanks again.

                P.S. The new roll over menu buttons at the top of the screen are awesome. I have had 4 people comment on how they make things easier and faster when switch between Monitoring and Configuration menus. Keep up the good work.
                Last edited by Palmertree; 12-02-2009, 08:12.

                Comment

                • Aly
                  ZABBIX developer
                  • May 2007
                  • 1126

                  #9
                  Originally posted by Palmertree
                  Other Problems:
                  • Configuration -> host -> open host and click the "clone" button it keeps looping.
                  • Also group permissions seem like they broke. I rolled back the build before the menu drop down changes and the problem went away. Users that can only see certain groups but not everything, can not see anything in the last few builds.
                  Should be fixed. Thanks for reporting this
                  Zabbix | ex GUI developer

                  Comment

                  • Palmertree
                    Senior Member
                    • Sep 2005
                    • 746

                    #10
                    Version Pre 1.7.0 Build 6714 -- Map and Dashboard Bug

                    Aly,

                    Fixed and tested:
                    Host group and permissions are working great. Again thanks for the quick fix.

                    Problem:
                    • A read-only (maybe read-write too) user using IE (tested with version 6) will not be shown the panel screens on the dashboard. "Loading..." is shown and the following error is thrown:

                      Line: 421
                      Object expected
                      URL: site.com/dashboard.php?
                      ----
                    • Found another issue that will cause a map permission issue and the map will disappear.
                    If you go to "Configuration" -> "Maps" and modify an existing map element of type "host" on a map and change the element from type "Host" to type "Image" and back to type "Host" and save the map element, you will get the following error below:

                    • No host with hostid=[0]
                    Looking at table "sysmaps_elements", I can see that the map element I was modifying, the field "elementid" is getting replaced by "0" and loosing the original "elementid" number.
                    Last edited by Palmertree; 13-02-2009, 08:27.

                    Comment

                    • Palmertree
                      Senior Member
                      • Sep 2005
                      • 746

                      #11
                      Aly,
                      Please let me know if you need any additional information for the 2 above issues dealing with Maps and Dashboards in IE. Thanks in advance.

                      Comment

                      • Palmertree
                        Senior Member
                        • Sep 2005
                        • 746

                        #12
                        Found the problem with the dashboards in IE not showing up due to object expected error. See code below. Now I just get ')' expected messages in ie about 5 times. Can not figure out were it is coming from.

                        Code:
                        --- pmaster.js.orig     2009-02-15 14:34:27.000000000 -0500
                        +++ pmaster.js  2009-02-16 02:18:10.000000000 -0500
                        @@ -303,7 +303,7 @@
                                                                        'method': 'post',
                                                                        'parameters': this._params,
                                                                        'onSuccess': this.onSuccess.bind(this),
                        -                                               'onFailure': this.onFailure.bind(this),
                        +                                               'onFailure': this.onFailure.bind(this)
                                                                }
                                );

                        Comment

                        • Aly
                          ZABBIX developer
                          • May 2007
                          • 1126

                          #13
                          Originally posted by Palmertree
                          Found the problem with the dashboards in IE not showing up due to object expected error. See code below. Now I just get ')' expected messages in ie about 5 times. Can not figure out were it is coming from.

                          Code:
                          --- pmaster.js.orig     2009-02-15 14:34:27.000000000 -0500
                          +++ pmaster.js  2009-02-16 02:18:10.000000000 -0500
                          @@ -303,7 +303,7 @@
                                                                          'method': 'post',
                                                                          'parameters': this._params,
                                                                          'onSuccess': this.onSuccess.bind(this),
                          -                                               'onFailure': this.onFailure.bind(this),
                          +                                               'onFailure': this.onFailure.bind(this)
                                                                  }
                                  );
                          Yeap, that fixes IE6 problem. But I don't see any error msges in IE6
                          BTW, problem with maps is fixed.
                          Zabbix | ex GUI developer

                          Comment

                          • Palmertree
                            Senior Member
                            • Sep 2005
                            • 746

                            #14
                            Thanks Aly for the quick fix for Maps.

                            I was going to post this in more detail, but if a user deletes a map that is one of the screens, the screen no longer show under configer or monitoring.

                            Comment

                            • Palmertree
                              Senior Member
                              • Sep 2005
                              • 746

                              #15
                              Aly your Map updates work great. Thanks again.

                              To fix the screen entry from disappearing mentioned above, I just had to go find the entry in the database sysmap_elements and remove the invalid element id from the screen. Not sure if there is a way to still show the screen if an element is missing or not.

                              Thanks again for the great work as always.

                              Comment

                              Working...