Core Data Mapping Model and empty filter predicates
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