• 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
Core Data Mapping Model and empty filter predicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Mapping Model and empty filter predicates


  • Subject: Core Data Mapping Model and empty filter predicates
  • From: Rick Mann <email@hidden>
  • Date: Thu, 14 May 2015 16:18:07 -0700

I've run into an issue that I haven't seen before with our mapping models: If the filter predicate was set, and is then cleared, migration complains about the empty filter predicate with:

	NSInvalidArgumentException: Unable to parse the format string ""

I'm having to hand-edit the mapping XML files to remove the "sourcefilterpredicatestring" attribute tag altogether in order to make it happy.

Is this a bug introduced in Xcode 6.3.1, that emptying the editor Filter Predicate field leaves an empty XML tag, that the migration code can't handle? That's what seems to be happening, but I haven't checked against an older version of Xcode to see if it doesn't do that.

--
Rick Mann
email@hidden



_______________________________________________

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


  • Prev by Date: Re: How to draw a NSView on top of a WebView and don't get overriden trying
  • Next by Date: Re: Fast enumeration question.
  • Previous by thread: Re: Optionals? A better option!
  • Next by thread: Generate a _CFURLAliasData entry for Finder toolbar
  • Index(es):
    • Date
    • Thread