Defect #2465
closed
Added by Maxim Krušina about 17 years ago.
Updated about 17 years ago.
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.
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
The question is what to do with this: 1,5h30m
- 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.
- Status changed from Resolved to Closed
Fix merged in 0.8-stable.
- Related to Defect #27881: No validation errors when entering an invalid "Estimate hours" value added
Also available in: Atom
PDF