internal > Feature

implement some sort of caching for efforts and number of subtasks / #1575

Summary

open
Aug 10, 2006
10 hours ... 4 days
Tue Nov 30, 1999 12:59am
Tue Nov 30, 1999 12:59am
Aug 10, 2006 / pixtur
Aug 12, 2006 / pixtur
 

Attached files

No files uploaded
Sooner or later we would need some method quickly sum up efforts and estimation on sub tasks. One methode could be to add new fields to the task-table:
  • sum_efforts
  • sum_estimated
  • num_open_subtasks
Then we could implement new function to class_task that provide this use the cached values or recompute them, if the value is -1. If an task is edited (or a new sub task created) the complete parent task list up to project would be set to "-1" to make them be recomputed next time.

The problem however would be filtered list (like milestones) or tasks hidden to the user. Image a client wondering about the sum of estimated efforts not matching the task visible to him. I have no idea how to deal with this problem.

4 Comments

burger

Aug 11, 2006
Comment
I think it's a good idea :-).

Furthermore I think the problem with the hidden tasks is not that big if you also implement the customization (Show the booked efforts of a task in the task overview).

Normally the pm is the only one who is interested in the sum of efforts, estimated time etc.. So only the pm should see the extra columns and in that context your problem with the hidden tasks is solved too, because the pm can normally see all tasks :-).





pixtur

Aug 11, 2006
Fine
But please note, that this will take some time to be implemented...

burger

Aug 11, 2006
Comment
No problem ;)

pixtur

Aug 12, 2006
Hi Thomas
I was pretty busy last week. Sorry I forgot. I am really looking forward on giving you assistence with the code. Do not hestitate to ask.

tom

 

Comment / Update