Bug #3620
closedSaving unbound settings twice in a row yields incorrect interface selection validation errors
100%
Description
Saving unbound settings twice in a row yields incorrect interface selection validation errors. Easy to reproduce as follows:
Navigate to Services > DNS Resolver
Observe that "Network Interfaces" and "Outgoing Network Interfaces" both are set to "All"
Press Save
Observe that neither "Network Interfaces" nor "Outgoing Network Interfaces" have a selection despite being selected previously
Stay on the page, change nothing
Press Save again, receive input validation error:
The following input errors were detected:
A single network interface needs to be selected for the DNS Resolver to bind to.
A single outgoing network interface needs to be selected for the DNS Resolver to use for outgoing DNS requests.
Reloading the page in the browser shows them selected again and saves OK.