Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9788

A double precision related issue with non-zero leading id value

    XMLWordPrintable

    Details

      Description

      This bug affects large multi-node installation converted to a single-node with node id having leading non-zero value.
      Root cause of this issue is the number exceeding range of integers which is about +/- 2**53 in JavaScript. For example, id 61261200000000015 equals to 61261200000000020 because this value is greater than 2**53

      Steps to reproduce:
      1. Create host groups with id's with leading number greater than zero
      2. Go to edit usergroup and try to add host group permissions.
      3. Host group ids will be changed to rounded ids after pressing select on popup_right.php in javascript code var id = obj.data('id')

      jquery bug:
      http://bugs.jquery.com/ticket/8709

      Affected zabbix versions:
      2.2.x, possible 2.4.x

      Temporary workaround:
      replace string in popup_right.php
      var id = obj.data('id')
      to
      var id = obj.attr('data-id');

      PS I'm not sure that this bug affects only popup_right.php page and I think that fixing bug in jquery is a better way. Maybe it has been fixed in this ticket http://bugs.jquery.com/ticket/7579, but I haven't checked it.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dmitryt Dmitry Tigrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: