Bug #5099
closedfirewall_rules_edit.php - Destination Port options are hidden on page load with TCP or UDP
Description
When creating a new rule, or editing an existing TCP or UDP rule, the destination ports are hidden even though the rule defaults to TCP.
Changing the rule to some other value and then back to TCP or UDP shows the destination port controls as expected.
Updated by Anonymous over 9 years ago
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Jim Pingle
Corrected destination port group class
Updated by Anonymous over 9 years ago
- % Done changed from 0 to 100
Applied in changeset pfsense:580f21515621feaf7c90bb8ae60e3f80eaf36086.
Updated by Jim Pingle over 9 years ago
- Status changed from Feedback to Confirmed
- Assignee changed from Jim Pingle to Anonymous
The destination ports are appearing now, but so are the source ports, which should remain hidden.
- New rule, defaults to TCP - OK, source ports hidden, destination ports shown
- New rule, change to UDP or TCP/UDP - Advanced button still shows but source ports appear (Bad), destination ports are shown (Good)
- Edit existing rules TCP, UDP, or TCP/UDP - OK on initial page load, source ports hidden, destination ports shown. Switch rule type to any other of TCP, UDP, or TCP/UDP and the same bad behavior appears: Advanced button still shows but source ports appear (Bad), destination ports are shown (Good)
- User manually clicks advanced
- Source port already contains a value.
Updated by Anonymous over 9 years ago
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Chris Buechler
Updated by Anonymous over 9 years ago
Applied in changeset pfsense:87a5535632c2c1c0d34e6ac8e5a0f3ba97b58807.
Updated by Jim Pingle over 9 years ago
- Status changed from Feedback to Assigned
- Assignee changed from Chris Buechler to Anonymous
No change in behavior from my previous test with the last commit in place.
Updated by Anonymous over 9 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Anonymous to Jim Pingle
Javascript logic changged for source port display "Advanced" button now has toggle acton and its state survives a protocol change.
Updated by Anonymous over 9 years ago
Applied in changeset pfsense:b22368535d6c9781b30b33a23b4d1c4b4d4c9360.
Updated by Jim Pingle over 9 years ago
- Status changed from Feedback to Assigned
- Assignee changed from Jim Pingle to Anonymous
The source port behavior is better, but the destination ports have gone missing.
So two problems now:- If Source ports already contain a value, they should be shown without having to click Advanced
- Destination ports need to be restored, they are not displayed at all on new rules or rules with existing destination ports. They should always be shown for TCP, UDP, and TCP/UDP.
Updated by Anonymous over 9 years ago
First item is covered in bug #5045 so I'd like to continue to keep it separate and not just for this page.
Glad the source ports are now good. I'll do something similar to the dest ports.
Updated by Anonymous over 9 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Anonymous to Jim Pingle
Destination ports now behave as required.
If Source ports already contain a value, they should be shown without having to click Advanced will be dealt with via Bug #5045
Updated by Anonymous over 9 years ago
Applied in changeset pfsense:d0613e4fb399a61355761bb07efa3a8a229eb707.
Updated by Jim Pingle over 9 years ago
- Status changed from Feedback to Resolved
Looks good now, thanks!