On input errors, system_gateways_edit.php doesn't retain interface
When entering anything on system_gateways_edit.php that triggers an input error, the interface isn't retained on the page showing the input errors, it always resets to WAN while keeping all the other correct values.
Ticket #303. The friendly interface is saved on the config and not the real one.
Ticket #303. Use the config item when editing gateways so all fields are correctly processed.
Revert "Ticket #303. Use the config item when editing gateways so all fields are correctly processed."
This reverts commit 9c10b00f3eb22f45e2fb704ca9f1786942d69ad8.
Revert "Ticket #303. The friendly interface is saved on the config and not the real one."
This reverts commit 889cb3241aa6bd192c42147316faf503c559fce2.
Ticket #303. Fix very many bugs in this code. From strings that were not quoted propperly to completely broken code paths.
#4 Updated by Chris Buechler over 9 years ago
- Status changed from Feedback to New
The particular issue noted in this ticket is still a problem. To replicate:
Add a gateway on LAN on system_gateways_edit.php
Choose an IP that isn't on the LAN subnet, to trigger the input error.
Note the interface has changed from LAN to WAN, though the other input is retained. This creates user error, as users forget to set the interface back.