Ticket #4229 (new defect)

Opened 15 months ago

Last modified 14 months ago

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

savequeryfiles.zip Download (1.7 KB) - added by ivanobrunet 15 months ago.

Change History

Changed 15 months ago by ivanobrunet

Changed 14 months ago by ivanobrunet

  • priority changed from normal to high
Note: See TracTickets for help on using tickets.