Forum

[SOLVED] Upgrade to...
 
Notifications
Retirer tout

[SOLVED] Upgrade to 10.4.0

4 Posts
2 Utilisateurs
0 Reactions
1,393 Vu
(@loicr)
Posts: 125
Active Member
Début du sujet
 
[#8940]

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


 
Posté : 19 Juin AM 10:066
(@babynus)
Posts: 14952
Membre Admin
 

Ticket #7208 recorded


 
Posté : 19 Juin PM 13:066
(@babynus)
Posts: 14952
Membre Admin
 

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;

 


 
Posté : 19 Juin PM 14:066
(@loicr)
Posts: 125
Active Member
Début du sujet
 

Thanks !


 
Posté : 19 Juin PM 17:066
Share:
Retour en haut