Bug #13307
closedPPP interface custom reset date/time Hour and Minute fields do not properly handle ``0`` value
100%
Description
When configuring a custom PPP interface reset time on /interfaces_ppps_edit.php
or interfaces.php
the page mishandles the contents of the Hour and Minute fields if the value is 0
.
When entering 0
it should take that value exactly but it's being replaced by *
(interfaces_ppps_edit.php) or blank (interfaces.php
) which leads the backend to interpret the value as *
meaning "every", which makes the custom reset happen at either every hour (if someone wants to reset during midnight hour) or every minute (if someone wants to reset at the top of the hour), or even every minute of every hour (if they intend to reset at exactly midnight).
It's easy enough to work around by choosing a non-zero value in both fields, but needs fixed for the next release.
Updated by Jim Pingle over 2 years ago
- Plus Target Version changed from 22.09 to 22.11
Updated by Jim Pingle about 2 years ago
- Plus Target Version changed from 22.11 to 23.01
Updated by Jim Pingle about 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset b381fa76bd817f94f9971caddace1faef1e83b6c.
Updated by Alhusein Zawi almost 2 years ago
Custom reset option takes 0 value
23.01-DEVELOPMENT (amd64)
built on Fri Dec 02 06:04:48 UTC 2022
Updated by Alhusein Zawi almost 2 years ago
- Status changed from Feedback to Resolved