Project

General

Profile

Actions

Defect #2465

closed

Spent time error

Defect #2465: Spent time error

Added by Maxim Krušina almost 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Time tracking
Target version:
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 1 (0 open — 1 closed)

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

Updated by Maxim Krušina almost 18 years ago Actions #1

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

Updated by Maxim Krušina almost 18 years ago Actions #2

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

Updated by Jean-Philippe Lang almost 18 years ago Actions #3

  • 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.

Updated by Jean-Philippe Lang almost 18 years ago Actions #4

  • Status changed from Resolved to Closed

Fix merged in 0.8-stable.

Updated by Go MAEDA almost 9 years ago Actions #5

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

Also available in: PDF Atom