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)
Change History (2)
by , 12 years ago
Attachment: | savequeryfiles.zip added |
---|
comment:1 by , 12 years ago
Priority: | normal → high |
---|