KCSCachedStore returns one record at a time when offline (using Framework v1.27.0 but not 1.26.9)
started a topic
over 6 years ago
Using a really basic query (see below), I'm getting the right response when online - e.g. 4 records which are then rendered in a UITableView.
But when there's no network connection (i.e. offline), I get unexpected behaviour: `objectsOrNil` only ever contains one record. If I re-query, it gets the next record, and so on, cycling around the whole collection - but only returning a single record at a time.
This is with Framework v 1.27.0. If I replace with 1.26.9, the behaviour reverts to what I'm expecting - which is the same 4 records returned as when online. I've also tried with versions 1.26.8 and 1.26.6.
I'm sticking with 1.26.9 for the time being, but could something be broken in the latest version?
It's quite possible, based in what you've told us here. I've brought this to the attention of our iOS library author and he'll be digging into it. Thank you very much for bringing this to our attention!
about 6 years ago
This should be fixed now in 1.27.1 http://devcenter.kinvey.com/ios/downloads