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

map can't be opened or exported after editing

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.4.5
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Environment:
      Centos 6

      Description

      Hello!

      I already described problem here:

      https://www.zabbix.com/forum/showthread.php?t=49758

      So I just copy from forum:

      user edited map and somehow it become broken , looks like bug, but main problem here is how to restore map, just because zabbix doesn't show o export map:

      Undefined index: 10800 [sysmap.php:149 ? add_elementNames() in /var/www/html/zabbix-2.4.5/include/maps.inc.php:378]
      

      and

      [error] Undefined index: 10800 [sysmaps.php:112 → CConfigurationExport->export() → CConfigurationExport->gatherData() &rarr
      ; CConfigurationExport->gatherMaps() → CConfigurationExport->prepareMapExport() in /var/www/html/zabbix-2.4.5/include/classes/ex
      port/CConfigurationExport.php:1018]
      

      I solved this by

      mysql> delete from sysmaps_elements where elementid=10800;
      

      Reply With Quote

      I don't know how user created problem, but I think this is wrong that map with such type of problem can't be opened without direct database interaction.
      I think it will be better to warn user about problem but open map anyway, to let user correct problem, or any other solution, but using web interface.
      Because there are no replies in forum I guess that only way to fix problem now is to directly fix database content.

      Thank you!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sles sles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: