Actions
Bug #8880
closed[PHP7] warning on system_gateways.php and extra item in gateways table
Start date:
09/10/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
244-RC
FreeBSD pf5100v.lab 11.2-RELEASE-p2 FreeBSD 11.2-RELEASE-p2 #1 d792717682e(factory-RELENG_2_4_4): Thu Sep 6 00:07:43 EDT 2018 root@buildbot3:/crossbuild/244/obj/amd64/as0Ifpf7/crossbuild/244/pfSense/tmp/FreeBSD-src/sys/pfSense amd64
I got a php warning after deleting gateway group and switching to gateways
Warning: Illegal string offset 'inactive' in /etc/inc/gwlb.inc on line 601 Warning: Illegal string offset 'monitor' in /etc/inc/gwlb.inc on line 646 Warning: Illegal string offset 'friendlyiface' in /etc/inc/gwlb.inc on line 653 Warning: Illegal string offset 'interface' in /etc/inc/gwlb.inc on line 659 Warning: Cannot assign an empty string to a string offset in /etc/inc/gwlb.inc on line 659 Warning: Illegal string offset 'attribute' in /etc/inc/gwlb.inc on line 672
Also I can see extra object 0
There is difference between old and current config:
--- /conf/backup/config-1536577702.xml 2018-09-10 14:08:31.633812000 +0300 +++ /conf/config.xml 2018-09-10 14:08:31.646044000 +0300 @@ -1947,8 +1947,8 @@ </domainoverrides> </unbound> <revision> - <time>1536577702</time> - <description><![CDATA[admin@192.168.129.2 (Local Database): System - Gateways: save default gateway]]></description> + <time>1536577711</time> + <description><![CDATA[admin@192.168.129.2 (Local Database): Gateway Groups: removed gateway group 0]]></description> <username>admin@192.168.129.2 (Local Database)</username> </revision> <cert> @@ -2261,15 +2261,9 @@ </ppp> </ppps> <gateways> - <gateway_group> - <name>GWGR</name> - <item>LAN_DHCP|1|address</item> - <item>WAN_DHCP|1|address</item> - <trigger>down</trigger> - <descr></descr> - </gateway_group> <defaultgw4>WAN_DHCP</defaultgw4> <defaultgw6>-</defaultgw6> + <gateway_item></gateway_item> </gateways> <dnsupdates> <dnsupdate>
Files
Actions