Project

General

Profile

Actions

Bug #13307

open

PPP interface custom reset date/time Hour and Minute fields do not properly handle ``0`` value

Added by Jim Pingle about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
PPP Interfaces
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.11
Release Notes:
Default
Affected Version:
Affected Architecture:

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.

Actions #1

Updated by Jim Pingle about 2 months ago

  • Plus Target Version changed from 22.09 to 22.11
Actions

Also available in: Atom PDF