Bug #5694
closedDynamic gateways' gateway IP shouldn't be editable
100%
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.
Updated by Anonymous almost 9 years ago
Does this pertain to the system_gateways_edit.php page?
Updated by Anonymous almost 9 years ago
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Chris Buechler
Updated by Chris Buechler almost 9 years ago
- 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.
Updated by Anonymous almost 9 years ago
OK. I was unable to locate that functionality in 2.2.x, but it is easy enough to add now.
Updated by Anonymous almost 9 years ago
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Chris Buechler
Element now set to readonly if $pconfig['dynamic'] is true.
Updated by Anonymous almost 9 years ago
- % Done changed from 0 to 100
Applied in changeset e1ef8082e5190e6b2dc58061d83103c6cd23aa74.
Updated by Chris Buechler almost 9 years ago
- 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!