-
-
Notifications
You must be signed in to change notification settings - Fork 876
Description
As I originally posted here in the Google Forum, if you have a PFObject
subclass, where one of the property is named state
, Parse will cause a crash, related to PFObjectState
trying to set an object that is not a PFObjectState
instance.
It was introduced, I guess, in version 1.7 or around that - as it wasn't crashing for me. To fix it temporarily, I needed to replace my property with geographicState
instead of state
.
To reproduce it, is very simple. One just needs to create a subclass of PFObject
, add a property named state
(in my case, it was a string), assign it and save.
I hope it's enough information. If not, I can try to reproduce and attach a stack strike.
If this behaviour is expected, that's ok - but it should be documented (maybe I didn't find this in the docs?). But it seems that I'm not the only one, according to the replies in the Google Forum.