Used Time not showing against action on Task Details Page
Status: Inactive
Brought to you by:
willuhn
When viewing the task details screen, each action
should show the used time but is not being displayed.
The Rounded summary time is correct, but the summary
cost is also not being calculated and simply shows zero.
The customer costs however, are displayed correctly.
Logged In: NO
I have been playing with it a bit and found that it gets
occassionally showed. But the Cost calculations and total
calculations are weird. I have a snapshot of it. I will try to
attach it. (tku@progress.com)
Logged In: YES
user_id=254709
Thanks, I am seeing the same thing now. DId you upgrade to
the version from a previous version? That is what I did,
just wondering if it's realated to upgrading.
Logged In: YES
user_id=254709
I just looked through this. It's kind of confusing, but i
figured it out. If I have a date range, it still shows all
projects/tasks...but only shows me used time for things that
fall into that range.
I think that I would rather it not show me all tasks
historically unless I click something to do that. The way I
use it is monthly and I don't need the extra confusion of
tasks from the past when I just want the bottom line. Thoughts?
Logged In: YES
user_id=845727
The problem is just that it's trying to show the time for
each job on the details screen as though it were a private
task. On line 342 of the file taskdetails.php, I changed
getSummary(true) to getSummary() and it works fine.
Logged In: YES
user_id=254709
Chris, thanks for tracking this down. Feel free to commit
this change.
I take it that false is the default if true is not passed to
the function? (haven't looked at the code for getSummary() yet)
I see that this shows up a lot throughout the system though.
Logged In: YES
user_id=845727
Yep, false is the default... it's in inc/jobs.inc.php, and
basically what it does is determine whether a '=' or a '!='
is used in the select statement for calculating the time
summary pertaining to whether it's a public or private job.
Fixes job summary time and midnight-crossover bugs
Logged In: YES
user_id=845727
All right, I'm still learning how to use sourceforge. for
the sake of completion, I'll attach the changed file here.
This also fixes a separate bug, namely, that when editing a
job to record a stop date and time the original start date
was being filled in as the stop date, even if the job went
past midnight and was finished on the next day (for those
red-eye programmers among us ;). The stop time was and
still is correct.
Logged In: YES
user_id=254709
Chris,
were you able to commit this file to CVS?
I am thinking that we will release a new version today or
tomorrow with some of the past bugs that were issues and the
few you are working on. Then we will look at the new list
you have an what I have and decide what will be added to the
next release. (release early release often).
Logged In: YES
user_id=845727
Yes, it's in CVS as well.
Logged In: YES
user_id=845727
Yes, it's in CVS as well.