AllPlayers/develop.allplayers.com — Issue #17: Unable to set the location["state"] on resources thru API
Author: qsBryan
Created: 2012-02-22 22:14:06+00:00
State: open

When setting the location during new resource creation, it errors for any value in the location["state"] field. It's like the list of eligible states is empty when creating through the API.

Here is the error:
**object(stdClass)#11 (1) { ["form_errors"]=> object(stdClass)#12 (1) { ["field_location][0][province"]=> string(75) "An illegal choice has been detected. Please contact the site administrator." } }**

To get around this I simply didn't pass in a "state" as part of the location information, and the resource was created successfully. I then tried to set the State/Province through the UI, and the list of options was blank (except for NOT LISTED).