Bug #2330
closedvouchers disappear when saving
100%
Description
config attached to replicate.
Browse to Services>CP, edit the zone, go to the Vouchers tab. You'll see the vouchers there at the top. Hit Save at the bottom and they're completely gone from the config.
Files
Updated by Darren Embry over 12 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 20
I've troubleshooted and confirmed that in this scenario, lines 229-244 here are being executed when you click "Save"; line 242 here in particular is to blame for erasing voucher config info:
https://github.com/bsdperimeter/pfsense/blob/8b320242759a783ebecd28dcbd57c1262844cbc4/usr/local/www/services_captiveportal_vouchers.php
I have reason to believe that those lines are not intended to be executed when you have an existing voucher config and click "Save", as is the case in this scenario. Perhaps someone can shed some light on what circumstances those lines of code are supposed to be called under?
Updated by Ermal Luçi over 12 years ago
- % Done changed from 20 to 100
Applied in changeset ab9526e619a948da1b4ab5f5c094e7204ecb4e94.
Updated by Darren Embry over 12 years ago
Has this issue been resolved? You can answer by marking it as such. Thanks. :-)