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 about 2 months ago. Updated 24 days ago.

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

100%

Estimated time:
Plus Target Version:
22.11
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 about 2 months ago

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

Updated by Christopher Cope 30 days ago

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

Updated by Danilo Zrenjanin 24 days 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

Also available in: Atom PDF