Project

General

Profile

Actions

Bug #13289

closed

Attempting to restore a 0 byte ``config.xml`` prints an error that the file cannot be read

Added by Jim Pingle over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Low
Category:
Backup / Restore
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

When attempting to restore an empty config.xml file (0 bytes) the GUI prints an error saying the file cannot be read from /tmp, rather than printing an error that the configuration is empty/not valid.

If it's possible to detect that case it would be more user friendly to print an accurate error message.

Actions #1

Updated by Jim Pingle over 2 years ago

  • Plus Target Version changed from 22.09 to 22.11
Actions #3

Updated by Christopher Cope about 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Danilo Zrenjanin about 2 years ago

  • Status changed from Feedback to Resolved

Tested:

2.7.0-DEVELOPMENT (amd64)
built on Thu Jul 21 06:14:01 UTC 2022
FreeBSD 12.3-STABLE

When I tried to restore an empty file I got the message below:

The following input errors were detected:

    The uploaded file is empty.

It works as expected. I am marking this ticket resolved.

Actions #5

Updated by Jim Pingle almost 2 years ago

  • Plus Target Version changed from 22.11 to 23.01
Actions

Also available in: Atom PDF