Forum

export xml msprojec...
 
Notifications
Retirer tout

export xml msproject faild

4 Posts
2 Utilisateurs
0 Reactions
5,657 Vu
(@pipobru)
Posts: 180
Reputable Member
Début du sujet
 
[#2211]

Hello,
With new version 4.5.5 and 4.5.4 the export XML failed.
Log:
2015-02-17 08:24:22 ** ERROR ** ERROR **
2015-02-17 08:24:22
** ERROR ** on file '/var/www/html/projeqtor455/tool/jsonPlanning.php' at line (1035)
2015-02-17 08:24:22
** ERROR ** cause = Undefined offset: 6
2015-02-17 08:36:39
** ERROR ***** Exception-[22P02] SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type numeric: " "
LINE 1: ...'0' and idMailable='14' and ( false or idStatus=' ' or id...

And of xml file i have this error:
ERROR : Une erreur est survenue le 2015-02-17 à 08:24:22

THank for your produc.


 
Posté : 17/02/2015 10:14 am
(@babynus)
Posts: 14952
Membre Admin
 

Ticket #1662 recorded.


 
Posté : 18/02/2015 12:16 am
(@babynus)
Posts: 14952
Membre Admin
 

Strange, it seems you try and export Planning concerning a resource that is not any more in the database :huh:

Anyway, following should fix this issue : replace line 1035 in /tool/jsonPlanning from

$res=$arrayResource[$ass->idResource];

to

if (isset($arrayResource[$ass->idResource])) {
  $res=$arrayResource[$ass->idResource];
} else {
  $res=new Resource($ass->idResource);
  $arrayResource[$ass->idResource]=$res;
}

 
Posté : 19/02/2015 1:18 am
(@pipobru)
Posts: 180
Reputable Member
Début du sujet
 

Hi,
It's perfect ! correctif full efficient ! Thanks :cheer: :woohoo:


 
Posté : 19/02/2015 9:41 am
Share:
Retour en haut