Welcome
Login
Sign up
Home
Solutions
Forums
How can we help you today?
Enter your search term here...
Search
Login
or
Signup
to submit a new ticket
Check ticket status
Start a new topic
Discussions
Kinvey Forums
iOS
Bug saving array of Objects
A
Aris Sarris
started a topic
almost 7 years ago
There seems to be a bug when saving array of entities.
`
[_store saveObject:@[Obj1,Obj2,Obj3,Obj4] withCompletionBlock:^(NSArray *ObjectsOrNil, NSError *ErrorOrNil)
{}];
`
Store saves only the first object and ObjectsOrNill seem to contain Obj1 four times.
In previous versions of your SDK this worked fine for me but I cannot tell with certainty which was the last one stable.
Is it actually a bug?
3 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
C
Caroline
said
almost 7 years ago
Hey Arris, thanks for bringing this to our attention! I'll make sure Mike sees this.
M
Mike
said
almost 7 years ago
I'm not able to reproduce, all our multi-object saving tests work as expected. Is there any errors? Can you send sample code to reproduce?
A
Aris Sarris
said
almost 7 years ago
Seems I was overriding isEqual method, in my object Class, incorrectly!
Multi-object saving works as expected!
My bad!
Thanks!
Login
or
Signup
to post a comment
More topics in
iOS
Why do I get "Undefined symbols" errors when building with KinveyKit?
How do I register push tokens?
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
How can I assign additional properties to users?
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
Authorization Token Invalid or Expired
BOOL and how it is stored in the database.
Offline saving throwing errors
Custom endpoint not able to form request object
Security through business logic
See all 437 topics
Aris Sarris
`
[_store saveObject:@[Obj1,Obj2,Obj3,Obj4] withCompletionBlock:^(NSArray *ObjectsOrNil, NSError *ErrorOrNil)
{}];
`
Store saves only the first object and ObjectsOrNill seem to contain Obj1 four times.
In previous versions of your SDK this worked fine for me but I cannot tell with certainty which was the last one stable.
Is it actually a bug?