Although claimed, KCSAppdataStore removeObject does not suppot query
Y
Yonghui Xiao
started a topic
over 6 years ago
I can use a NSArray to delete a bunch of entities. But when inputing a query to this function, "KCSAppdataStore removeObject:withCompletionBlock:withProgressBlock", it generates an error.
KinveyEntity.m:69 [ERROR] EXCEPTION Encountered: Name => UnsupportedFeatureException, Reason => This version of the Kinvey iOS library requires clients to override this method
2014-06-05 22:20:07.267 [21108:170f]
*** Terminating app due to uncaught exception 'UnsupportedFeatureException', reason: 'Object "" of type "KCSQuery" does not implement 'hostToKinveyPropertyMapping', a required 'KCSPersistable' method for saving the object to the backend'
libc++abi.dylib: terminate called throwing an exception
M
Mike
said
over 6 years ago
Can you provide code that reproduces this?
k
kallayb
said
about 6 years ago
I also am seeing the same behavior using the IOS api. Is there something special that needs to be done when using KCSQuery in a removeObject call?
**EDIT** By same behavior, I mean specifically the following exception:
'UnsupportedFeatureException', reason: 'Object "" of type "KCSQuery" does not implement 'hostToKinveyPropertyMapping', a required 'KCSPersistable' method for saving the object to the backend'
Yonghui Xiao
http://devcenter.kinvey.com/ios/guides/datastore#DeletingMultipleEntitiesatOnce