Hello,
I just upgraded to version 4.5.0 and I have a problem with planning calculation when I select "work in common" in the 'Planning" field of the activity.
The application says that "an error has occured"
Here is what I found in the log :
2014-11-24 12:48:57 ** ERROR ** on file '/appli/projeqtor/model/Resource.php' at line (327)
2014-11-24 12:48:57 ** ERROR ** cause = Missing argument 2 for Resource::findAffectationRate(), called in /appli/projeqtor/model/PlannedWork.php on line 563 and defined
2014-11-24 12:49:29 ** ERROR ** ERROR *****
Thanks for your help !
Ticket #1617 recorded.
Fix found.
In /model/PlannedWork.php, replace line 563
$rateProj=Resource::findAffectationRate($grp['ResourceWork'][$projectKey]['rate']) / 100;
with
$rateProj=Resource::findAffectationRate($grp['ResourceWork'][$projectKey]['rate'],$currentDate) / 100;
Fix will be included in patch V4.5.1 (coming soon)
Thanks a lot, i'll apply this fix tomorrow morning 😉
Fix applied, everything's ok, thanks 😉
Patch V4.5.1 is deployed