Project

General

Profile

Bug #7347

Config Sync - Breaks on null value

Added by Clinton Cory over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
XMLRPC
Target version:
-
Start date:
03/04/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4
Affected Architecture:

Description

When setting up config sync on a new box. If a config section is selected, in this example Virtual IPs, but nothing is defined in that section then it will generate an error:
"execption calling xmlrpc method restore_config_section impossible to encode value from type nulll no analogous type"

grep -Ril "restore_config_section" /etc/inc/
/etc/inc/xmlrpc_client.inc
/etc/inc/pfsense-utils.inc

If the config sync for that section is unselected no error is generated. This has only been tested with Virtual IPs on 2.4.

There should be an exception handler to overlook sections that are no yet defined rather than generating an error when saving config sync.

History

#1 Updated by Jim Thompson over 3 years ago

  • Assignee set to Steve Beaver

#2 Updated by Jim Pingle about 1 year ago

  • Category changed from 62 to XMLRPC

Also available in: Atom PDF