CoreData returns wrong objects in relation

Originator:marceljackwerth
Number:rdar://26826183 Date Originated:06/15/2016
Status:Open Resolved:
Product:iOS Product Version:10.0 14A5261u
Classification: Reproducible:
 
Summary:
We have an entity TimelineItemAttributable with a 1:n relation `attributes` to TimelineItemAttributes
We have an entity TimelineItem (parent = TIAttributable) with a relation `statuses` to TimelineItemStatus

Because of some reason on the current iOS 10 beta, the relations `attributes` and `statuses` contain the same elements.

Steps to Reproduce:
I tried creating an isolated app but failed to replicate the behavior.

Expected Results:
Reading `timelineItem.status` should return array of TimelineItemStatuses

Actual Results:
Reading `timelineItem.statuses` returns array of TimelineItemAttributes

Version:
iOS 10.0

Notes:
We see crashes because of this in HockeyApp with people already running iOS 10.

We are using mogenerator

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!