Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


MR_importFromArray not returning array of NSManagedObject matches #511

lamogura opened this Issue · 1 comment

2 participants

Justin Kovalchuk Tony Arnold
Justin Kovalchuk

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?

Tony Arnold

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!

Tony Arnold tonyarnold closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.