Project

General

Profile

Actions

Defect #2465

closed

Spent time error

Added by Maxim Krušina over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Time tracking
Target version:
Start date:
2009-01-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

There is problably a bug, when entering spent time:
  • 2h -> it will enter 2 hours
  • 1,5h (or 1.5h) -> it will enter 0 hours !!!

But form is saved without any errors, so user don't know that time wasn't added, it's really critical!

There should be some error message and form shouldnt be saved, when user enter some invalid value which results in 0 hours.


Related issues

Related to Redmine - Defect #27881: No validation errors when entering an invalid "Estimate hours" valueClosed

Actions
Actions #1

Updated by Maxim Krušina over 15 years ago

Description above was tested when entereing time via "Update" link.
When adding time by "Log time" link, there is error message, but text is wrong:
input: 1,5h
error: « Hours » can't be blank

Actions #2

Updated by Maxim Krušina over 15 years ago

The question is what to do with this: 1,5h30m

Actions #3

Updated by Jean-Philippe Lang over 15 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.1
  • Resolution set to Fixed

Fixed in r2251. An error is now raised when entering invalid hours on the issue update screen.
Also, 1,5h is now allowed.

The question is what to do with this: 1,5h30m

Nothing, it's invalid.

Actions #4

Updated by Jean-Philippe Lang over 15 years ago

  • Status changed from Resolved to Closed

Fix merged in 0.8-stable.

Actions #5

Updated by Go MAEDA over 6 years ago

  • Related to Defect #27881: No validation errors when entering an invalid "Estimate hours" value added
Actions

Also available in: Atom PDF