Project

General

Profile

Bug #6577

pkg_edit.php: rowhelper data not preserved on validation error

Added by Steve Beaver over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
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

Revision a654d899 (diff)
Added by Steve Beaver over 3 years ago

Fixed #6577 - Preserve user input on error

Revision 07451ca8 (diff)
Added by Steve Beaver over 3 years ago

Fixed #6577 - Preserve user input on error

(cherry picked from commit a654d899cd5d288501fea1ec52dba2e3f0e479ba)

Revision 1e686fe9 (diff)
Added by Steve Beaver over 3 years ago

Fixed #6577 - Preserve user input on error

(cherry picked from commit a654d899cd5d288501fea1ec52dba2e3f0e479ba)

History

#1 Updated by Steve Beaver over 3 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 3 years ago

  • % Done changed from 0 to 100

#3 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved
  • Affected Version changed from 2.3.1 to 2.3.x

works

Also available in: Atom PDF