Opened 14 years ago

Last modified 14 years ago

#3302 closed defect

Improve error message when query file extension test fails — at Version 1

Reported by: dmorissette Owned by: aboudreault
Priority: normal Milestone: 5.6.4 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: sdlime

Description (last modified by dmorissette)

A user reported on the -users list that he gets the following error when he tries to load a query file in MapScript:

Error in msEvalRegex(): String failed expression test.

The error doesn't help much in figuring the source of the problem. A new msSetError() with a more explicit message should be added in msLoadQuery() when msEvalRegex() fails, something like "Query file extension check failed (extension must be .qy)"

Change History (1)

comment:1 by dmorissette, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.