Vote #64400
完了Spent time error
0%
説明
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.
journals
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
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Fix merged in 0.8-stable.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,27881,No validation errors when entering an invalid "Estimate hours" value