• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data fetch exception: keypath <transient attribute> not found in entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data fetch exception: keypath <transient attribute> not found in entity


  • Subject: Re: Core Data fetch exception: keypath <transient attribute> not found in entity
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 12 Jul 2009 12:28:12 -0700

On Jul 12, 2009, at 12:05, Fritz Anderson wrote:

I have an entity, "Sale," that has a transient attribute "latestDate." It is marked optional/transient/indexed in the MOM; I've also tried it without setting optional. I set latestDate in awakeFromFetch and awakeFromInsert. I use [NSDate dateWithTimeIntervalSinceReferenceDate: 0] as a flag value.

...

The execute... method raises
'NSInvalidArgumentException', reason: 'keypath latestDate not found in entity <NSSQLEntity Sale id=2>'

The documentation:

	http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdFetching.html

says: "Note that you cannot fetch using a predicate based on transient properties".

I think that pretty much covers it. :)


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Core Data fetch exception: keypath <transient attribute> not found in entity
      • From: Fritz Anderson <email@hidden>
References: 
 >Core Data fetch exception: keypath <transient attribute> not found in entity (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: [iPhone] Multi-touch gestures in table views?
  • Next by Date: Re: Core Data fetch exception: keypath <transient attribute> not found in entity
  • Previous by thread: Re: Core Data fetch exception... further
  • Next by thread: Re: Core Data fetch exception: keypath <transient attribute> not found in entity
  • Index(es):
    • Date
    • Thread