title: CoreData - to many property set returns empty though it presents in DB file
body: <p>I have simple DB scheme: <a href="https://i.stack.imgur.com/upHmx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/upHmx.png" alt="enter image description here"></a></p>
  
  <p>I fetch "WPRChatBoardItem" objects collection this way:</p>
  
  <pre><code>- (NSArray*)getAllChatBoardItems
  {
      NSFetchRequest *request = [NSFetchRequest fetchRequestWithEntityName:NSStringFromClass([WPRChatBoardItem class])];
  
      NSSortDescriptor *sort = [NSSortDescriptor
                            sortDescriptorWithKey:@"order" ascending:YES];
      [request setSortDescriptors:[NSArray arrayWithObject:sort]];
  
  
      NSError *error;
      NSArray *array = [self.managedObjectContext executeFetchRequest:request error:&amp;error];
      if (error)
          [WPRLogger printError:error where:DEBUG_PLACE];
  
      return array;
  }
  </code></pre>
  
  <p>When I print one of the objects, I see all three "to-many" properties are in status "relationship fault": <a href="https://i.stack.imgur.com/KWp1u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KWp1u.png" alt="enter image description here"></a></p>
  
  <p>After accessing each of them, I see in log fetch requests but but they all return empty even though there are entries in DB file: <a href="https://i.stack.imgur.com/iAFpJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iAFpJ.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/BC0c8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BC0c8.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>I tried to set <strong>setReturnsObjectsAsFaults</strong> to NO, but this did not help.</li>
  <li>I use only one context</li>
  </ul>