Project

General

Profile

Actions

Regression #14053

closed

Changing the default IPsec widget tab removes all widgets

Added by Steve Wheeler about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

If you edit the IPSec widget and change the default tab it displays all dashboard widgets are removed.

The logs show:

Mar 1 01:10:21     php-fpm     439     /widgets/widgets/ipsec.widget.php: Configuration Change: admin@172.21.16.8 (Local Database): Updated IPsec widget settings via dashboard.
Mar 1 01:10:21     check_reload_status     477     Syncing firewall
Mar 1 01:10:21     php-fpm     439     /widgets/widgets/ipsec.widget.php: Beginning configuration backup to https://acb.netgate.com/save

The config diff generated by that one change on this test box is:

--- /conf/backup/config-1677600873.xml    2023-03-01 01:10:21.642772000 +0000
+++ /conf/config.xml    2023-03-01 01:10:21.659615000 +0000
@@ -1662,32 +1662,9 @@
         <category>left=system-processor&amp;right=&amp;resolution=300&amp;timePeriod=-1d&amp;startDate=&amp;endDate=&amp;startTime=0&amp;endTime=0&amp;graphtype=line&amp;invert=true&amp;refresh-interval=0</category>
     </rrd>
     <widgets>
-        <sequence>system_information:col1:open:0,disks:col1:open:0,thermal_sensors:col1:open:0,apcupsd:col1:open:0,cellular:col1:open:0,interfaces:col2:open:0,ipsec:col2:open:0,log:col2:open:0,netgate_services_and_support:col2:open:0,services_status:col3:open:0,gateways:col3:open:0,installed_packages:col3:open:0</sequence>
-        <period>10</period>
-        <gateways-0>
-            <descr><![CDATA[Gateways]]></descr>
-            <display_type>gw_ip</display_type>
-            <gatewaysfilter>WAN_DHCP6</gatewaysfilter>
-        </gateways-0>
-        <log-0>
-            <descr><![CDATA[Firewall Logs]]></descr>
-            <filterlogentries>20</filterlogentries>
-            <filterlogentriesinterval>15</filterlogentriesinterval>
-        </log-0>
-        <apcupsd-0>
-            <descr><![CDATA[Apcupsd]]></descr>
-            <apc_temp_dis_type>degc</apc_temp_dis_type>
-            <apc_host_dis>yes</apc_host_dis>
-            <apc_temp_dis_type_var>1</apc_temp_dis_type_var>
-            <apc_load_warning_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_load_warning_threshold>
-            <apc_load_critical_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_load_critical_threshold>
-            <apc_temp_warning_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_temp_warning_threshold>
-            <apc_temp_critical_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_temp_critical_threshold>
-            <apc_charge_warning_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_charge_warning_threshold>
-            <apc_charge_critical_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_charge_critical_threshold>
-            <apc_bage_warning_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_bage_warning_threshold>
-            <apc_bage_critical_threshold>Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata &lt;copied-by-zanata@zanata.org&gt;Language-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)</apc_bage_critical_threshold>
-        </apcupsd-0>
+        <ipsec-0>
+            <default_tab>tunnel</default_tab>
+        </ipsec-0>
     </widgets>
     <openvpn>
         <openvpn-server>
@@ -2078,8 +2055,8 @@
         </hosts>
     </unbound>
     <revision>
-        <time>1677600873</time>
-        <description><![CDATA[admin@172.21.16.8 (Local Database): PPPoE Server item saved]]></description>
+        <time>1677633021</time>
+        <description><![CDATA[admin@172.21.16.8 (Local Database): Updated IPsec widget settings via dashboard.]]></description>
         <username><![CDATA[admin@172.21.16.8 (Local Database)]]></username>
     </revision>
     <ppps>

Tested in 23.01-REL amd64

Actions #1

Updated by Jim Pingle about 1 year ago

  • Assignee set to Jim Pingle
Actions #2

Updated by Jim Pingle about 1 year ago

  • Tracker changed from Bug to Regression
  • Subject changed from Changing the default IPSec widget tab removes all widgets to Changing the default IPsec widget tab removes all widgets
  • Status changed from New to Confirmed
Actions #3

Updated by Jim Pingle about 1 year ago

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

Updated by aleksei prokofiev about 1 year ago

Tested on
23.01-RELEASE (amd64)
built on Fri Feb 10 20:06:33 UTC 2023
FreeBSD 14.0-CURRENT

After apply the patch, all works as expected.

Actions #5

Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Jim Pingle 11 months ago

  • Affected Version set to 2.7.0
Actions

Also available in: Atom PDF