Opened 12 years ago
Closed 21 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: |
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 (2)
comment:1 by , 2 years ago
Milestone: | → 4.0 |
---|
comment:2 by , 21 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Confirmed no longer happening with PHP8 bindings
Note:
See TracTickets
for help on using tickets.
See if this is still the case with the new PHP8 bindings