Project

General

Profile

Actions

Bug #14820

closed

GUI TCP port is not updated in the configuration when saving with the field empty to remove an existing value

Added by Marcos M about 1 year ago. Updated about 1 year ago.

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

100%

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

Description

  1. Set a value for the GUI TCP port; save
  2. Remove the value; save
  3. The config and redirect URL contains the old port value

Reported here:
https://forum.netgate.com/topic/182615/

Another symptom of the root issue is that the HTTP redirect happens even when the proto/port options do not change.


Files

clipboard-202309292051-wbdq9.png (96.7 KB) clipboard-202309292051-wbdq9.png Lev Prokofev, 09/29/2023 04:51 PM
Actions #1

Updated by Lev Prokofev about 1 year ago

Can confirm this, tested on

    23.09-DEVELOPMENT (amd64)
built on 20230922-1539
FreeBSD 14.0-CURRENT

Actions #2

Updated by Marcos M about 1 year ago

  • Description updated (diff)
  • Status changed from New to Pull Request Review
  • Affected Version set to 2.7.0
Actions #3

Updated by Marcos M about 1 year ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Georgiy Tyutyunnik about 1 year ago

patch works
tested on:
Version 23.05.1-RELEASE (amd64)
built on Wed Jun 28 03:57:27 UTC 2023
FreeBSD 14.0-CURRENT

Actions #5

Updated by Marcos M about 1 year ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Jim Pingle about 1 year ago

  • Subject changed from GUI TCP port is not updated when the option is empty to GUI TCP port is not updated in the configuration when saving with the field empty to remove an existing value
Actions #7

Updated by Jim Pingle about 1 year ago

  • Target version changed from 2.8.0 to 2.7.1
Actions

Also available in: Atom PDF