Bug #6577
pkg_edit.php: rowhelper data not preserved on validation error
Start date:
07/05/2016
Due date:
% Done:
100%
Estimated time:
Affected Version:
2.3.x
Affected Architecture:
Description
e.g.: Install pfBlockerNG and visit pkg_edit.php?xml=/pfblockerng/pfblockerng_v4lists.xml&id=2
Add an IPV4 list source on the IPV4 tab and click save. An error is reported (as it should be) but the list source is lost and has to be re-entered.
THis is true of all XML that make use of the rowhelper control.
Associated revisions
Fixed #6577 - Preserve user input on error
(cherry picked from commit a654d899cd5d288501fea1ec52dba2e3f0e479ba)
Fixed #6577 - Preserve user input on error
(cherry picked from commit a654d899cd5d288501fea1ec52dba2e3f0e479ba)
History
#1
Updated by Steve Beaver over 4 years ago
- Status changed from New to Feedback
Read values from POST data on validation error
Re-factor some duplicated code
#2
Updated by Steve Beaver over 4 years ago
- % Done changed from 0 to 100
Applied in changeset a654d899cd5d288501fea1ec52dba2e3f0e479ba.
#3
Updated by Chris Buechler over 4 years ago
- Status changed from Feedback to Resolved
- Affected Version changed from 2.3.1 to 2.3.x
works
Fixed #6577 - Preserve user input on error