Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hi Babynus,
2 questions actually:
1) I am facing a problem with the calculation of real work on a few activities: the parent activity does not take into account all the real work of its children activities (see "Parent_real_work_problem.jpg").
I believe this has happened after moving around some activities / projects. In order to investigate where this might have come from, could you tell me where in the source code is the real work calculated for a parent activity ?
My use case is this:
- in Real Work Allocation, log some time on a child activity, and save.
-> I have checked the saveImputation.php file, everything seems ok
-> I haven't found where the update of real work for the parent activity is done :blush:
2) While trying to figure this out, I played in the "demo" Projectorria, and now see something strange: I logged some small amounts of time on a child activity (66.5.2 test1), and when I check the Planning or Activity details, the real work on this activity is different! (see screenshots Activity, Planning, RWA).
These tests are done on the "MyOwnTestProject" of the demo site.
-> Any idea what could cause this ?
Thanks for your help!
1) I am facing a problem with the calculation of real work on a few activities: the parent activity does not take into account all the real work of its children activities (see "Parent_real_work_problem.jpg").
I don't see "Parent_real_work_problem.jpg" attached 🙁
2) While trying to figure this out, I played in the "demo" Projectorria, and now see something strange: I logged some small amounts of time on a child activity (66.5.2 test1), and when I check the Planning or Activity details, the real work on this activity is different! (see screenshots Activity, Planning, RWA).
These tests are done on the "MyOwnTestProject" of the demo site.
-> Any idea what could cause this ?
Just becaus RWA (Real Work allocation) is in hours, others are in days.
1) I don't see "Parent_real_work_problem.jpg" attached 🙁
Sorry... here it is.
I am suspecting some corruption in the database maybe (probably not linked to the tool itself), but would like to understand how the code works to try to figure out what might have happened..
Extra note: we incidentally deleted the "Release notes P1" activity, and then the parent "Release 1.3.2" was recalculated to the correct value (see "Parent_real_work_OK").
2) Just becaus RWA (Real Work allocation) is in hours, others are in days.
Of course !!! :pinch:
Hi,
Calculation is done is the PlanningElement class (/model/PlanningElement.php).
On save, the update is automatically displatched to parent, recurcively.
So just updating value of the lowest activity will fix the data. It is what oyu did by deleting the activity 😉
Interesting, thanks !