Forum

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.

Projeqtor 4.5.0 : b...
 
Notifications
Clear all

Projeqtor 4.5.0 : bug in planning calculation when planning ="work in common" / patch V4.5.1

6 Posts
2 Users
0 Reactions
6,138 Views
(@maikeul)
Posts: 3
Active Member
Topic starter
 
[#2105]

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 !


 
Posted : 24 Nov 2014 16H11
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Ticket #1617 recorded.


 
Posted : 24 Nov 2014 21H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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)


 
Posted : 24 Nov 2014 21H26
(@maikeul)
Posts: 3
Active Member
Topic starter
 

Thanks a lot, i'll apply this fix tomorrow morning 😉


 
Posted : 24 Nov 2014 21H28
(@maikeul)
Posts: 3
Active Member
Topic starter
 

Fix applied, everything's ok, thanks 😉


 
Posted : 25 Nov 2014 11H31
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Patch V4.5.1 is deployed


 
Posted : 27 Nov 2014 0H35
Share:

Scroll to Top