AllPlayers/develop.allplayers.com — Issue #11: "competitors" fails to save correctly when doing an UPDATE on Events
Author: qsBryan
Created: 2012-02-22 17:15:31+00:00
State: open

Using the API on the production server, I successfully created a "game" event with two competitors.

When performing an UPDATE on that event with essentially the same information, the competitor field does not save correctly and basically becomes corrupted.

It doesn't matter what competitors are sent on the UPDATE, the resulting object has this:
**["competitors"]=> array(1) { [0]=> object(stdClass)#11 (4) { ["uuid"]=> bool(false) ["label"]=> string(1) "T" ["score"]=> NULL ["event_outcome"]=> NULL } }**