Project

General

Profile

Actions

Defect #27881

closed

No validation errors when entering an invalid "Estimate hours" value

Added by Go MAEDA almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This problem was reported as a part of #12955 by Daniel Felix five years ago. I confirmed that the latest versions of Redmine (3.4 and trunk) are still affected.

The helper for the estimated time doesn't check the correctness of the string. For example, you can define hours by 2h30m to get 2.5 or 3h5m to get 3.08 as timevalue. But if you enter abc or 3j (misstyped) the string isn't checked. The issue just returns "update successfully" and sets the estimated time to nil. The string should be checked and should raise some error, if the input isn't correct.


Files

fix-27881.diff (947 Bytes) fix-27881.diff Go MAEDA, 2018-01-03 09:25

Related issues

Related to Redmine - Defect #12955: Misbehaviour in estimated time validationClosed

Actions
Related to Redmine - Defect #2465: Spent time errorClosed2009-01-08

Actions
Actions

Also available in: Atom PDF