On Mon, 25 Jul 2016 14:12:42 -0500, Kyle Sluder said: >On Mon, Jul 25, 2016, at 09:14 AM, Sean McBride wrote: >> Hi all, >> >> I'm observing that in 10.12 my awakeFromFetch methods are being called >> more than in 10.11 and earlier. Specifically, it's called more than once >> for an object that's already been fetched previously. >> >> Perhaps I have misunderstood the method's semantics all these years, but >> I expected that awakeFromFetch would only be called once, when an object >> is first awaken from the persistent store. >> >> Now I'm seeing that if I execute a fetch request where >> returnsObjectsAsFaults=YES awakeFromFetch will be invoked on all the >> resulting objects, even if it'd been invoked before. >> >> Does that seem correct to you? > >This does not sound like expected behavior. Could you please file a bug >report at https://bugreport.apple.com and attach a sample project if at >all possible?
Kyle, Thanks for agreeing that it seems wrong. I filed <rdar://27526497> but haven't reduced to a test app yet. Also, for the archives: I got something backwards in my post: the problem happens if I fetch with returnsObjectsAsFaults=NO (not YES). Cheers, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com