Project

General

Profile

Actions

Bug #8994

closed

Two RRDDATA Sections in Restored Config Breaks Unit

Added by Chris Linstruth over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backup / Restore
Target version:
Start date:
10/02/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:

Description

Had a user present a configuration backup with two rrddata sections.

Looked like this:

<rrddata></rrddata>
<rrddata>
<rrddatafile>

The configuration uploaded but the config parser did not like it:

Fatal error: Uncaught Exception: XML error: RRDDATA at line 2179 cannot occur more than once in /etc/inc/xmlparse.inc:87 ...

Removing the empty rrddata section allowed the configuration to be uploaded and applied successfully.

It was an 18.0 (2.4.3_1) backup.


Related issues

Related to Bug #13132: Multiple ``<sshdata>`` or ``<rrddata>`` sections in ``config.xml`` lead to an XML parsing error during restoreResolvedJim Pingle

Actions
Actions

Also available in: Atom PDF