Opened 11 years ago

Closed 11 months ago

#2252 closed defect (fixed)

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

Reported by: jng Owned by:
Priority: medium Milestone: 4.0
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 (2)

comment:1 by jng, 16 months ago

Milestone: 4.0

See if this is still the case with the new PHP8 bindings

comment:2 by jng, 11 months ago

Resolution: fixed
Status: newclosed

Confirmed no longer happening with PHP8 bindings

Note: See TracTickets for help on using tickets.