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:
THank for your produc.
Ticket #1662 recorded.
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;
}
Hi,
It's perfect ! correctif full efficient ! Thanks :cheer: :woohoo: