[Mapguide-trac] [mapguide-trac] #2252: PHP API cannot resolve overload of MgFeatureService::UpdateFeatures() with NULL MgTransaction

MapGuide Open Source trac_mapguide at osgeo.org
Tue Apr 2 03:08:45 PDT 2013


#2252: PHP API cannot resolve overload of MgFeatureService::UpdateFeatures() with
NULL MgTransaction
-------------------------------+--------------------------------------------
   Reporter:  jng              |       Owner:     
       Type:  defect           |      Status:  new
   Priority:  medium           |   Milestone:     
  Component:  Feature Service  |     Version:     
   Severity:  minor            |    Keywords:     
External_id:                   |  
-------------------------------+--------------------------------------------
 Any PHP script will fail with this error if you try to call
 MgFeatureService::UpdateFeatures with a NULL MgTransaction

 {{{

 PHP Fatal error:  Arguments passed did not match any overload for method
 _wrap_MgFeatureService_UpdateFeatures

 }}}

 The MapGuide PHP API seems to have trouble resolving the correct overload
 when the third parameter is NULL. It should be resolving to the overload
 that has a MgTransaction parameter.

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


More information about the mapguide-trac mailing list