View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problem when linking a milestone to a project - ProjeQtOr
 

Problem when linking a milestone to a project

More
16 May 2018 10:53 #1 by Bena
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<br/>  => Not found in ../model/custom/Replan.php <br/>  => Not found in ../model/Replan.php <br/>  => Not found in ../model/persistence/Replan.php <br/>
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

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

More
16 May 2018 11:16 #2 by babynus
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.

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

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

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