When a task has subtasks and the completion value of a
subtask is changed, the completion of the parent task
calculated is wrong. I noticed it is calculated using
the old completion value for the task being edited. The
problem is that the caculation is done BEFORE the
database entry of the edited subtask is actually updated.
Update subtask db entry before calculating the parent
task's completion value.
In subtasks/editsubtask.php, add the following line
after the line defining $tmpquery5 (actual
CVS-snapshot: line 95).
Note: Dont know if this has any side effects, but for
now it seems to work.
Log in to post a comment.