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

If template export fails, browser is redirected to missing page

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.3
    • Frontend (F)
    • None

      Steps to reproduce:

      1. If template has some inconsistencies in database it fails to export from Zabbix

      Result:
      **

      1. Browser is redirected to page that doesn't exist (url end with zabbix.php?action=templates.list when it should end with zabbix.php?action=template.list)
      2. Error message about failed export is not shown on that page as it should have been shown on correct template.list -page

      Expected:

      Browser should be redirected to template list page (url ends with  zabbix.php?action=template.list) with error message on the top of the page.

      Attached patch fixes the problem. There is one extra letter "s" in action in /usr/share/zabbix/ui/app/views/template.list.php.

            zabbix.dev Zabbix Development Team
            puohis Sami Puohiniemi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: