Project

General

Profile

Actions

Bug #13594

closed

"Provide DNS servers to DHCPv6 clients" setting does not reflect a changed value until the page is reloaded

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

Status:
Resolved
Priority:
Low
Category:
DHCP (IPv6)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

After checking the option Provide DNS servers to DHCPv6 clients under Services / DHCPv6 Server & RA then clicking Save, the page loads with the option unchecked. Re-visiting the page then loads with the option checked.

Actions #1

Updated by Christian McDonald over 1 year ago

  • Status changed from New to Feedback
  • Assignee set to Christian McDonald
  • Target version set to 2.7.0
  • Plus Target Version set to 23.01

Fixed in https://gitlab.netgate.com/pfSense/pfSense/-/commit/04e6927518ff2736a0a385c794192dda33c2bdb7

The problem here is caused by the fact that the $_POST value of that option is not the same as the enabled value stored in config.xml. In an effort to keep the edits to a minimum, we just test for either enabled or yes when deciding to display the checkbox checked or not.

Actions #2

Updated by Jim Pingle over 1 year ago

  • Subject changed from Page load after save does not reflect saved settings. to "Provide DNS servers to DHCPv6 clients" setting does not reflect a changed value until the page is reloaded
  • Category changed from Web Interface to DHCP (IPv6)
Actions #3

Updated by Christian McDonald over 1 year ago

  • % Done changed from 0 to 100
Actions #4

Updated by Marcos M over 1 year ago

  • Status changed from Feedback to Resolved

Tested patch on 22.11.a.20221021.0600. Now works correctly.

Actions

Also available in: Atom PDF