Opened 19 years ago

Closed 19 years ago

#1177 closed defect (fixed)

Mapscript does not reset errors when throwing an exception

Reported by: jerry.pisk@… Owned by: sgillies@…
Priority: highest Milestone: 4.4 release
Component: MapScript-SWIG Version: 4.4
Severity: major Keywords:
Cc:

Description

Mapscript does not reset mapserver's error list when throwing an exception. 
This causes the error to be re-thrown on a next mapscript call that checks 
errors, even if that call succeeded.

Attachments (1)

mserror.i (1.5 KB ) - added by jerry.pisk@… 19 years ago.
Updated mserror.i

Download all attachments as: .zip

Change History (3)

by jerry.pisk@…, 19 years ago

Attachment: mserror.i added

Updated mserror.i

comment:1 by sgillies@…, 19 years ago

Milestone: 4.4 release
Priority: highhighest
Severity: normalmajor
Status: newassigned
i'm raising the priority and will get this in early next week.  thanks for
catching it.


comment:2 by sgillies@…, 19 years ago

Cc: unicoletti@… added
Resolution: fixed
Status: assignedclosed
Committed to branch-4-4 and HEAD.  Thanks, Jerry.

Note: See TracTickets for help on using tickets.