View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Upgrade to 10.4.0 - ProjeQtOr
 

[SOLVED] Upgrade to 10.4.0

More
19 Jun 2023 08:48 #1 by loicr
Upgrade to 10.4.0 was created by loicr
Morning,

After upgrade, when i try to close activities, i've got RED ERROR and log is:

2023-06-19 08:39:37.092 ===== TRACE ===== =====================================
2023-06-19 08:39:37.092 ===== TRACE =====
2023-06-19 08:39:37.092 ===== TRACE ===== DATABASE UPDATE COMPLETED TO VERSION V10.4.0
2023-06-19 08:39:37.092 ===== TRACE =====
2023-06-19 08:39:37.092 ===== TRACE ===== =====================================
2023-06-19 08:39:42.638 ===== TRACE ===== NEW CONNECTED USER 'XXXXX'
2023-06-19 08:39:48.517 ===== TRACE ===== Cron started at 19/06/2023 08:39:48
2023-06-19 08:45:39.671 ***** ERROR ***** [V10.4.0] ERROR *****
2023-06-19 08:45:39.672 ***** ERROR ***** [V10.4.0] on file '/var/www/projeqtor/model/ActivityPlanningElementMain.php' at line (816)
2023-06-19 08:45:39.672 ***** ERROR ***** [V10.4.0] cause = Undefined variable $hasSubProjects
2023-06-19 08:45:56.181 ***** ERROR ***** [V10.4.0] ERROR *****

LR

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

More
19 Jun 2023 11:38 #2 by babynus
Replied by babynus on topic Upgrade to 10.4.0
Ticket #7208 recorded

Babynus
Administrator of ProjeQtOr web site

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

More
19 Jun 2023 12:05 #3 by babynus
Replied by babynus on topic Upgrade to 10.4.0
Hi,

Issue occurs only when Consolidation of validated data is set to "ALWAYS" (default is IS SET)
Issue will be deployed on V10.4.1
The fix is to replace lines 817 and 819 (two replaces required) in model/ActivityPlanningElementMain.php
from
if ($hasSubProjects) $this->validatedExpenseCalculated=1;
to
if ($hasSubActivity) $this->validatedExpenseCalculated=1;
 

Babynus
Administrator of ProjeQtOr web site

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

More
19 Jun 2023 15:27 #4 by loicr
Replied by loicr on topic Upgrade to 10.4.0
Thanks !

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

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