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

Misleading error message if file chosen for upload is deleted before upload

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.43rc1, 7.0.20rc1, 7.2.14rc1, 7.4.4rc1, 8.0.0alpha1 (master)
    • Frontend (F)

      Precondition: you need to have an exported file with a host saved on your computer

      Steps to reproduce:

      1. Data collection -> Hosts
      2. Click "Import"
      3. Choose a file that you've previously exported from host list that is stored on your computer
      4. Delete the file containing a host from your computer
      5. Click "Import"

      Result: error message with text "Unexpected server error." is displayed, which is misleading for the user

      Expected result: it should be possible for the user to understand what exactly is wrong from the text of the error message.

      Reproducible in all places where some kind of import is possible - Hosts, Templates, Maps, Media types, Images

      In Images the behaviour until 8.0 (before inline validation with ZBXNEXT-9752 is introduced) is different - after clicking Add for the new image entry the result looks like this:

            zabbix.dev Zabbix Development Team
            ssmildzina Sanija Smildzina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h