Bug #3790
closedInput validation is too strict for IPv6 Prefix ID for Track Interface
100%
Description
It is impossible to set both the track interface and an ID higher than 0 in one action, even if it is valid.
For example if the WAN is set to DHCPv6 with a DHCPv6 Prefix Delegation size of "60", the valid prefix IDs are 0 through F.
If you configure an internal interface to Track Interface, then select WAN and enter a higher ID (e.g. 1), then press save, an input validation error is printed saying the ID is invalid. If you select Track Interface and WAN and immediately Save, then enter the ID, the valid is kept.
This affects both 2.1.x and 2.2.
Updated by Renato Botelho over 10 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset aeb44799f3693c198c48926c85b4468a6dccb9f9.
Updated by Chris Buechler about 10 years ago
- Status changed from Feedback to Resolved
Updated by Anonymous almost 10 years ago
A couple of additional items for this that need to be resolved...
- When the prefix selection box first appears, it always seems to show "between 0 and 0", even if a greater range is actually valid. (example: I have a /60 available, but when I add a new interface, it shows "between 0 and 0" when it should show "between 0 and f").
- You can enter a prefix value that is already in use on another interface and you are not alerted that the value is already in use, either on that page immediately or when saving the changes and the page reloads.
Updated by Chris Buechler almost 10 years ago
- Status changed from Resolved to Confirmed
- Assignee deleted (
Renato Botelho)
Updated by Renato Botelho almost 10 years ago
- Status changed from Confirmed to Feedback
Applied in changeset 986fd3d9a70bd92e2138372147e338e24f774730.
Updated by Renato Botelho almost 10 years ago
Applied in changeset 79fabc8fac5f8c8444f8374748572040e96bee24.
Updated by Chris Buechler almost 10 years ago
- Assignee changed from Renato Botelho to Chris Buechler
- Affected Version changed from 2.1 to 2.1-IPv6
to me for review
Updated by Jim Pingle almost 10 years ago
- Status changed from Feedback to Confirmed
Seems to break when WAN is set to a /64 delegation. Saving LAN with an ID of 0 is rejected, though it is valid.
Updated by Jim Pingle almost 10 years ago
- Assignee changed from Chris Buechler to Renato Botelho
Updated by Renato Botelho almost 10 years ago
- Status changed from Confirmed to Feedback
Should be fixed by 5a158a29698405a1d3ee759dcbf9a95f9150e12e