Forum

[SOLVED] Repport / ...
 
Notifications
Retirer tout

[SOLVED] Repport / Planning / synthesis of availability all pool without affection on 8.1

9 Posts
2 Utilisateurs
0 Reactions
5,288 Vu
(@pipobru)
Posts: 180
Active Member
Début du sujet
 
[#6103]

Hello,
After update with the last version, i launch a planning calcul. After that in report Synthesis of availability all poll have 0 availability whithout planification (green color). Some error in log files see in attachement.


 
Posté : 2 Juil PM 12:077
(@babynus)
Posts: 14952
Membre Admin
 

This looks like a real major issue.
Ticket #4106 recorded.


 
Posté : 3 Juil PM 18:077
(@babynus)
Posts: 14952
Membre Admin
 

Issue fixed.
Will be included in patch V8.1.1

Fix is to replace few line in 2 files : lines 250+ in /model/Assignment.php from and lines 711+ in /model/PlanningElement.php

          if (substr($field,-4)=='Date') {
            $query.=" $field='".$newVal."' ";
          } else {
            $query.=" $field=".$newVal;
          }

to

          if ($newVal===null or $newVal==='') {
            $query.=" $field=null ";
          } else if (substr($field,-4)=='Date') {
            $query.=" $field='".$newVal."' ";
          } else {
            $query.=" $field=".$newVal;
          }

 
Posté : 3 Juil PM 19:077
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

thanks for your answer. I have a ressource with important expertise on PHP. I would help you on this sujet. How i can help you ?


 
Posté : 3 Juil PM 19:077
(@babynus)
Posts: 14952
Membre Admin
 

I thging our last messages crossed.
Issue already fixed.


 
Posté : 3 Juil PM 19:077
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

After modification no crach but i have this error:
2019-07-03 17:10:21.660 ===== TRACE ===== Error for planning mode '16' not found in Planning Mode table


 
Posté : 3 Juil PM 19:077
(@babynus)
Posts: 14952
Membre Admin
 

It seems the content of table planningmode is not correct.
See screenshot of what it should content.

Correct what is missing.


 
Posté : 4 Juil AM 11:077
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

I have check all data and i have exactly the same data in my table.


 
Posté : 4 Juil PM 17:077
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

Sorry, the problem is id 15 and 16 are same. Id 16 do not exist. now all is ok


 
Posté : 4 Juil PM 17:077
Share:
Retour en haut