Opened 13 years ago

Closed 13 years ago

#246 closed defect (fixed)

Query file extension .qy expected by Mapserver ≥ 5.2.2

Reported by: doschmid Owned by: madair
Priority: P1 Milestone: 2.0
Component: MapServer Version: 2.0 - beta
Severity: Critical Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

Mapserver 5.2.2 and above (5.2.1 not tested) expects the query file to be named "query.qy". Fusion writes this file in "query.qry" which leads to a msEvalRegex error like the following:

msEvalRegex(): Regular expression error. String (/var/lib/php/session/sess_49ef23ad8b84e/query.qry) failed expression test

The fix is to change all instances of "query.qry" accordingly in Query.php.

Change History (2)

comment:1 by doschmid, 13 years ago

This problem is also found in older versions of Fusion (I only looked at 1.0.6).

comment:2 by madair, 13 years ago

Resolution: fixed
Status: newclosed

fixed

add check for version number and set query template accordingly

Note: See TracTickets for help on using tickets.