[Mapguide-trac] [mapguide-trac] #2770: 500 internal server error on search widget with SQLite DB

MapGuide Open Source trac_mapguide at osgeo.org
Mon Sep 25 05:16:29 PDT 2017


#2770: 500 internal server error on search widget with SQLite DB
-----------------------+------------------------------------------------
   Reporter:  phidrho  |      Owner:  (none)
       Type:  defect   |     Status:  new
   Priority:  medium   |  Milestone:
  Component:  Fusion   |    Version:  3.1.0
   Severity:  trivial  |   Keywords:  search,sqlite,search widget,Fusion
External ID:           |
-----------------------+------------------------------------------------
 After upgrade to Mapguide 3.1.0.9064, Fusion search widget connected to
 SQLite polygon layer stopped working. Search is working properly on MSSQL
 layers. I think situation with SHP layer is the same as with SQLite.

 The problem is probably in GetGeometryTypes(), it seems that function
 detects that SQLite layer has points for some reason, and then Search.php
 script sets $bHasPoint variable to True which then causes the error.
 I temporarily changed bHasPoint to False in line 149 (in Search.php) to
 avoid the bug.

--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2770>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list