Opened 12 years ago

Last modified 12 years ago

#4229 new defect

From mapscript cannot loadquery after savequery with results parameters to true

Reported by: ivanobrunet Owned by: tamas
Priority: high Milestone:
Component: MapScript-C# Version: 6.0
Severity: major Keywords:
Cc:

Description

I have an application written in .net with mapscript c# that serialize mapserver query in this way: if ((this._MapObj.saveQuery(this.MapservFilesDir + "/MapservFiles/tmp/" + qGuid,mapscript.MS_YES)) == (int)MS_RETURN_VALUE.MS_SUCCESS){[do some code]}

then I de-serialize this way:

int res = this._MapObj.loadQuery(this.MapservFilesDir + "/MapservFiles/tmp/" + qString);

On load I receive frequently error such this: loadQueryResults(): General error message. failed to read result 0 from query file stream and this: loadQueryResults(): General error message. failed to read bounds from query file stream

I attach some example files that generate error

Attachments (1)

savequeryfiles.zip (1.7 KB ) - added by ivanobrunet 12 years ago.

Download all attachments as: .zip

Change History (2)

by ivanobrunet, 12 years ago

Attachment: savequeryfiles.zip added

comment:1 by ivanobrunet, 12 years ago

Priority: normalhigh
Note: See TracTickets for help on using tickets.