Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

export xml msprojec...
 
Notifications
Clear all

export xml msproject faild

4 Posts
2 Users
0 Reactions
5,683 Views
(@pipobru)
Posts: 180
Active Member
Topic starter
 
[#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.


 
Posted : 17 Feb 2015 10H14
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Ticket #1662 recorded.


 
Posted : 18 Feb 2015 0H16
babynus
(@babynus)
Posts: 14966
Main Contributor 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;
}

 
Posted : 19 Feb 2015 1H18
(@pipobru)
Posts: 180
Active Member
Topic starter
 

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


 
Posted : 19 Feb 2015 9H41
Share:

Scroll to Top