When I create a new case and I fill out an estimation of, for example 2 hours, then the following information is displayed when I view the case node:

Estimated Time: 2 hours
Time Logged: 1 hour (2 hrs remaining)

Instead it should display:

Estimated Time: 2 hours
Time Logged: 0 hour (2 hrs remaining)

As soon as I log some time, for example 1 hr, the information is correct:

Estimated Time: 2 hours
Time Logged: 1 hour (1 hr remaining)

I have tried to find a solution myself, but since I'm very new at Drupal I didn't understand the code well enough to find and fix this problem. I think it has to do with the fact that new cases don't have any time entries logged in the database yet, but I'm not sure.

Comments

drclaw’s picture

That's a strange one. We'll take a look at that. Thanks for the report.

codi’s picture

Assigned: Unassigned » codi
Status: Active » Closed (cannot reproduce)

Tried to replicate, but alas, I cannot. I'm going to close this for now, but if anyone is still having this problem then re-open this ticket, include some more details and I'll take another look.

morybel’s picture

I have exactly the same problem. And it repeats all over for all my groups..

For the project:
Estimated Time: 30 hours, 30 mins
Time Logged: 29 hours, 30 mins (1 hr remaining) which is ok

For specific case:
Estimated Time: 1 hour, 30 mins
Time Logged: 1 hour, 30 mins (over by: 1 hr) ** (the problem is here)

I'm using Drupal 6.25
Open Atrium 1.3
Time Tracker 6.x-1.0-beta1
Aegir

Maybe I should use Atrium-Time-Tracker instead of Time Tracker 6.x-1.0-beta1?
Thanks for your help..

drclaw’s picture

Atrium-Time-Tracker is just a feature that adds a little extra theming to time tracker on Atrium, so that probably won't fix anything.

I'll take a look at this again, and see what I can figure out.

morybel’s picture

Thanks, I'm available for additional informations if needed.