Forum

Problem when linkin...
 
Notifications
Retirer tout

Problem when linking a milestone to a project

2 Posts
2 Utilisateurs
0 Reactions
2,276 Vu
Bena
 Bena
(@bena)
Posts: 65
Active Member
Début du sujet
 
[#5156]

Hello,
I want a project to start after a milestone from an other project.
When I try to link them, i have the following error in the log file :

2018-05-16 10:47:23.915 ** ERROR ** [V7.0.8] Impossible to load class Replan
=> Not found in ../model/custom/Replan.php
=> Not found in ../model/Replan.php
=> Not found in ../model/persistence/Replan.php
2018-05-16 10:47:23.915 ----- DEBUG ----- => /projeqtor/projeqtor/tool/projeqtor.php at line 1371 called from debugPrintTraceStack 2018-05-16 10:47:23.915 ----- DEBUG ----- => called from projeqtorAutoload 2018-05-16 10:47:23.916 ----- DEBUG ----- => /projeqtor/projeqtor/model/PlanningElement.php at line 268 called from spl_autoload_call 2018-05-16 10:47:23.916 ----- DEBUG ----- => /projeqtor/projeqtor/tool/saveDependencyDnd.php at line 106 called from save for class PlanningElement 2018-05-16 10:47:23.916 ** ERROR ** [V7.0.8] EXCEPTION ** 2018-05-16 10:47:23.916 ** ERROR ** [V7.0.8] on file '/projeqtor/projeqtor/model/PlanningElement.php' at line (268) 2018-05-16 10:47:23.916 ** ERROR ** [V7.0.8] cause = Class 'Replan' not found 2018-05-16 10:47:23.916 ** ERROR ***** [V7.0.8] => #0 /projeqtor/projeqtor/tool/saveDependencyDnd.php (106) -> save()

Regards.


--
Bena

 
Posté : 16 Mai PM 12:055
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

2 workarounds :
1) Replan before creating dependency
2) Create dependency from tables successor / predecessor and not with Drag and Drop

Fix is to add 2 lines in /tool/saveDependencyDnd.php, before line 62, lie this :

if ($ref1Type=='Replan') $ref1Type='Project';
if ($ref2Type=='Replan') $ref2Type='Project';
$critPredecessor=array("refType"=>$ref1Type,"refId"=>$ref1Id);
$critSuccessor=array("refType"=>$ref2Type,"refId"=>$ref2Id);

Fix will be included in V7.1.0 and in patch for 7.0, if any.


 
Posté : 16 Mai PM 13:055
Share:
Retour en haut