View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Projeqtor 4.5.0 : bug in planning calculation when planning ="work in common" / patch V4.5.1 - ProjeQtOr
 
 

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

More
24 Nov 2014 14:11 - 25 Nov 2014 09:21 #1 by Maikeul
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 !
Last edit: 25 Nov 2014 09:21 by protion.
The topic has been locked.
More
24 Nov 2014 19:22 #2 by babynus
Ticket #1617 recorded.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
24 Nov 2014 19:26 #3 by babynus
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)

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
More
24 Nov 2014 19:28 #4 by Maikeul
Thanks a lot, i'll apply this fix tomorrow morning ;)
The topic has been locked.
More
25 Nov 2014 09:31 #5 by Maikeul
Fix applied, everything's ok, thanks ;)
The topic has been locked.
More
26 Nov 2014 22:35 #6 by babynus
Patch V4.5.1 is deployed

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.033 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.