View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Planning calculation - ProjeQtOr
 

Planning calculation

More
06 Feb 2019 15:51 #1 by Durou C
Planning calculation was created by Durou C
When i did Planning calculation on v 7.4.0, I receive on log file:

2019-02-06 15:46:22.429 ===== TRACE ===== Error for planning mode not found in Planning Mode table

Which planning Mode Table is not found, on which activities ?

Please Log in or Create an account to join the conversation.

More
06 Feb 2019 16:22 #2 by babynus
Replied by babynus on topic Planning calculation
Hi,

It is a minor warning, without issue in planing result.

Fix is to replace line 1462 and following in model/PlannedWork.php from
    $pmList=SqlList::getList('PlanningMode','code',null,true);
    foreach ($list as $id=>$elt) {
      if (!isset($pmList[$elt->idPlanningMode])) {
        traceLog("Error for planning mode '$elt->idPlanningMode' not found in Planning Mode table");
        $pmList[$elt->idPlanningMode]='ASAP';
      }
to
    $pmList=SqlList::getList('PlanningMode','code',null,true);
    $pmList['']='';
    foreach ($list as $id=>$elt) {
      if ($elt->idPlanningMode and !isset($pmList[$elt->idPlanningMode])) {
        traceLog("Error for planning mode '$elt->idPlanningMode' not found in Planning Mode table");
        $pmList[$elt->idPlanningMode]='ASAP';
      }    

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: Durou C

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 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.