MR_importFromArray not returning array of NSManagedObject matches #511

Closed
lamogura opened this Issue Jul 3, 2013 · 1 comment

2 participants

@lamogura

Found this oddity while importing some data. I can watch objectIDs get added for the matching objects inside "MR_importFromArray:inContext:", but when the return statement "return [self MR_findAllWithPredicate..." gets called the array is empty and nothing returning.

I changed the "[MagicalRecord saveWithBlock:..." call to be a "[MagicalRecord saveWithBlockAndWait:..." and that did the trick. I guess its returning before the block gets executed. Is that the right fix for this?

@tonyarnold

Given the age of this issue, and the volume of issues we have to work through, I've decided to close this alongside a number of other older issues.

If you can still replicate the issue under the latest in-development version of MagicalRecord (3.0 at the time of writing), please feel free to re-open and one of @magicalpanda/team-magicalrecord will take another look. Thanks!

@tonyarnold tonyarnold closed this Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment