Spent-Time 30min are not possible

Added by Karl-Josef Seidenstuecker 5 months ago

Only full hours can be saved in our system.
Is it possible to save 30min?

Replies (12)

RE: Spent-Time 30min are not possible - Added by Go MAEDA 5 months ago

Please try "0.5", "0:30", "30m". They all mean 30 minutes. See RedmineTimeTracking.

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

Thank you for your answer!!!

I tried it but it doesn´t work.

Do you have an other idea?

RE: Spent-Time 30min are not possible - Added by Go MAEDA 5 months ago

Karl-Josef Seidenstuecker wrote:

I tried it but it doesn´t work.

That should work. Did you see any error when submitting the form? Is there any error in production.log?

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

There is no error while submitting.

Where can i check the production.log?

Thx

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

Is this log helpful?

I entered 2,5h but only 2h are displayed and counted.

THX

30min.JPG (68.9 KB)

RE: Spent-Time 30min are not possible - Added by Go MAEDA 5 months ago

Could you enter "2.5" instead of "2,5"? Perhaps the comma decimal separator is the cause of the problem.

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

Hi.
I tried:
0,5
0.5
0:30
30m
30min

nothing works.
Best regards

RE: Spent-Time 30min are not possible - Added by Bernhard Rohloff 5 months ago

I've tried it with Redmine V3.4.2 and had no issues what so ever.
Which Version of Redmine do you use?

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

Hello Bernhard.

We are using 3.4.6.stable

BR
Kalle

version.JPG (23.6 KB)

RE: Spent-Time 30min are not possible - Added by Go MAEDA 5 months ago

Do you use plugins other than clipboard_image_paste? If so, please try again after uninstalling all plugins.

RE: Spent-Time 30min are not possible - Added by Karl-Josef Seidenstuecker 5 months ago

we solved the issue. Problem was the field hours in table time_entries, it was defined as numeric(11,0). The redmine installation was originally a 2.x on mysql that has been upgraded to 3.4.6 and then moved to a new server and a postgres database. Somewhere along the way the declaration for that field must have been messed up. We changed the field to numeric(11,2), restarted the server (without restart it still wouldn't work, probably due to ActiveRecord) and now the system can also log minutes. Thanks again for your support.

RE: Spent-Time 30min are not possible - Added by Bernhard Rohloff 5 months ago

Great! I'm glad you've found the solution for your problem. And thank you for reporting it here. :)

(1-12/12)