Opened 9 years ago

#2252 new defect

PHP API cannot resolve overload of MgFeatureService::UpdateFeatures() with NULL MgTransaction

Reported by: jng Owned by:
Priority: medium Milestone:
Component: Feature Service Version:
Severity: minor Keywords:
Cc: 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.

Change History (0)

Note: See TracTickets for help on using tickets.