Bug #5694
closed
Dynamic gateways' gateway IP shouldn't be editable
Added by Chris Buechler almost 9 years ago.
Updated almost 9 years ago.
Description
Dynamic gateways have "dynamic" filled in for the gateway IP upon edit, which is correct. But they allow changing that "dynamic" text to any IP. Setting a specific gateway IP on a dynamic gateway entry breaks all kinds of things. That field was grayed out previously for dynamic gateways so it couldn't be broken. Needs to come back.
Does this pertain to the system_gateways_edit.php page?
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Chris Buechler
- Status changed from Feedback to Confirmed
- Assignee changed from Chris Buechler to Anonymous
Correct, system_gateways_edit.php. When it fills in "dynamic" in the gateway field, that field should be grayed out so it can't be changed.
OK. I was unable to locate that functionality in 2.2.x, but it is easy enough to add now.
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Chris Buechler
Element now set to readonly if $pconfig['dynamic'] is true.
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Indeed this wasn't prevented in 2.2.x, that js must have gotten messed up at some point, swear that used to behave the same as 2.3 does now. This is correct now, thanks!
Also available in: Atom
PDF