Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8205897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:27:08+00:00 2026-06-07T08:27:08+00:00

I have following Problem: First up… i use MagicalRecord for the whole CoreData thing

  • 0

I have following Problem:

First up… i use MagicalRecord for the whole CoreData thing

  • I have two Entities: A and B
  • They have a relation between each other
  • I create one instance of Entity A
  • I create several instances ob Entity B and set the relation
  • I don’t call [[NSManagedObjectContext defaultContext] save];
    • It’s fine
    • The relation is ok… I can check it using the findByAttribute method
  • If I call this save then the relation is destroyed…
    • the same check using findByAttribute does not find results any more

I have absolutely no clue what I am doing wrong or if it’s a bug in CoreData / MagicalRecord…

I made a sample project showing the problem.
https://github.com/bliblablo/MagicalRecordsProblem

You can see the problem by following this steps:

  • click “create”
  • click “add”
  • click “check”
  • see the log output for results
  • click “save”
  • click “check” again and see the problem in the log 🙂

Any help is really appreciated!!!
Thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:27:10+00:00Added an answer on June 7, 2026 at 8:27 am

    Sounds like the problem I was having with temporary ObjectID‘s not getting refreshed in the default context.

    See my answer on NSPredicate not executed for details.

    If you haven’t already sorted it out, try checking the ObjectID of the NSManagedObject instances at various points. Especially if you (or Magical Record) are using the object as part of an NSPredicate to do the later fetches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a following problem with entity mapping in JPA. I have two entities,
all! I have the following problem: I have 2 simple tables. The first one,
I have the same problem that is listed in the following thread. WSDL first
I have following problem: I have to make a ASP.NET Webapplication with a two-row
i have the following Problem - first of all i'm totally new to Flex.
I have the following problem: I would like to use footnotes together with the
I have the following problem: I have two webpages, a.php and b.php . The
I have the following problem: I want to compare two tables and see if
Please help me to resolve the following problem: First of all, I have one
I have the following problem: I have some classes and interfaces in the first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.