Opened 10 years ago

Last modified 5 weeks ago

#2252 new defect

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:

Description

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 (1)

comment:1 by jng, 5 weeks ago

Milestone: 4.0

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

Note: See TracTickets for help on using tickets.