Hi,
using and testing the extension we highlight that the wbs cost are wrong calculated.
As better explainable :
1. Create a Project
2. From Action menu ->"other action"->"create a deliverable"
3. The new project's deliverable is created but project wbs cost is not updated
4. Create a second project's deliverable will update the wbs cost with previous amount inserted
If one of deliverable is modified the wbs cost will updated correctly.
What should be patched ?
Many Thanks
Davide
env:
tested on 2.7.5 - all 3.0
PMP light 1.0.5
Last edit: Davide 2022-02-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Only for preview, do you rewrite all code or a part only ?
I Ask that because I solved for copier action with code and other but still remain strange that for update action the cost don't consider the current value update. Also if you touch different project's deliverable the cost are update at second time.
Many thanks
Davide
Below the original code :
<methodid="OnUpdate"><comment>/**
*
* @author Axelle Bost
*/
</comment><static>false</static><access>public</access><code><![CDATA[ public function OnUpdate() { parent::OnUpdate(); $this->WBS_costs_budget();
$this->SetProjectWBScalculated();
$aInitialDates = array();
$aInitialDates = $this->SetWBSStartEndDates();
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Davide,
I tried to reproduce your issue and could not manage it.
I installed iTop 2.7.5 and PMP 1.0.5.
When I create a deliverable on a project from other actions and save deliverable, field wbs_cost (Total cost)on class WBS is well filled thanks to $this->WBS_costs_budget() called in OnInsert() method.
Could you provide more info to help me to reproduce your issue ?
Thanks
Axelle
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
using and testing the extension we highlight that the wbs cost are wrong calculated.
As better explainable :
1. Create a Project
2. From Action menu ->"other action"->"create a deliverable"
3. The new project's deliverable is created but project wbs cost is not updated
4. Create a second project's deliverable will update the wbs cost with previous amount inserted
If one of deliverable is modified the wbs cost will updated correctly.
What should be patched ?
Many Thanks
Davide
env:
tested on 2.7.5 - all 3.0
PMP light 1.0.5
Last edit: Davide 2022-02-07
Hello Davide,
Thanks for the feedback! We can't reproduce on the v1.0.10, so it should be fixed.
The v1.0.10 should be released mid-march on the Hub.
Cheers,
Guillaume
Hello Guillaume,
Only for preview, do you rewrite all code or a part only ?
I Ask that because I solved for copier action with code and other but still remain strange that for update action the cost don't consider the current value update. Also if you touch different project's deliverable the cost are update at second time.
Many thanks
Davide
Below the original code :
We fixed some bugs here and there. Can you check the last version available here to see if it fixes your issue? (Don't use it on production)
Cheers,
Guillaume
Hello Davide,
I tried to reproduce your issue and could not manage it.
I installed iTop 2.7.5 and PMP 1.0.5.
When I create a deliverable on a project from other actions and save deliverable, field wbs_cost (Total cost)on class WBS is well filled thanks to $this->WBS_costs_budget() called in OnInsert() method.
Could you provide more info to help me to reproduce your issue ?
Thanks
Axelle