ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10369

update of screen size with 'screenitems' option unexpectedly deletes screen item

    Details

      Description

      Reproduce:
      Create screen with 2 columns and add screen item to last column.
      Now update screen with API screen.update method

      {
      "screenid": "27",
      "hsize": 1,
      "screenitems": [
      {
      "screenitemid": "140",
      "screenid": "27",
      "resourcetype": "0",
      "resourceid": "550",
      "width": "500",
      "height": "100",
      "x": "0",
      "y": "0",
      "colspan": "1",
      "rowspan": "1",
      "elements": "0",
      "valign": "0",
      "halign": "0",
      "style": "0",
      "url": "",
      "dynamic": "0",
      "sort_triggers": "0",
      "application": "",
      "max_columns": "3"
      }
      ]
      }

      keep screen 'hsize' and screenitem 'x' as in example.

      Notice:
      screenitem is deleted

        Activity

        Hide
        Gunars Pujats added a comment - - edited

        (1) No translation strings changed.

        Oleg Egorov CLOSED

        Show
        Gunars Pujats added a comment - - edited (1) No translation strings changed. Oleg Egorov CLOSED
        Hide
        Gunars Pujats added a comment -

        RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10369

        Show
        Gunars Pujats added a comment - RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10369
        Hide
        Oleg Egorov added a comment - - edited

        (2) As was been discussed, please improve screen update and updateReal functions

        • Remove return from "updateReal".
        • Revert:
          $screens = $this->updateReal($screens);

        Gunars Pujats RESOLVED in r58532.

        Oleg Egorov CLOSED

        Show
        Oleg Egorov added a comment - - edited (2) As was been discussed, please improve screen update and updateReal functions Remove return from "updateReal". Revert: $screens = $this->updateReal($screens); Gunars Pujats RESOLVED in r58532. Oleg Egorov CLOSED
        Hide
        Oleg Egorov added a comment -

        TESTED

        Show
        Oleg Egorov added a comment - TESTED
        Hide
        Gunars Pujats added a comment -

        Fixed in:

        • pre-2.2.12rc1 r58820
        • pre-2.4.8rc1 r58821
        • pre-3.0.2rc1 r58822
        • pre-3.1.0 (trunk) r58823
        Show
        Gunars Pujats added a comment - Fixed in: pre-2.2.12rc1 r58820 pre-2.4.8rc1 r58821 pre-3.0.2rc1 r58822 pre-3.1.0 (trunk) r58823
        Hide
        Gunars Pujats added a comment - - edited
        Show
        Gunars Pujats added a comment - - edited (3) API documentation: API changes in 2.2 API changes in 2.4 API changes in 3.0 Alexander Vladishev Thanks! CLOSED

          People

          • Assignee:
            Unassigned
            Reporter:
            vitalijs.cemeris
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: