Bug 17238 - NSManagedObjectModel.IsConfiguration should allow null for configuration argument
Summary: NSManagedObjectModel.IsConfiguration should allow null for configuration argu...
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 7.2.1
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-01-15 03:21 UTC by Nick Rymanov
Modified: 2014-03-21 08:00 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Nick Rymanov 2014-01-15 03:21:19 UTC
According to Apple documentation ( https://developer.apple.com/library/mac/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObjectModel_Class/Reference/Reference.html#//apple_ref/occ/instm/NSManagedObjectModel/isConfiguration:compatibleWithStoreMetadata: ) it is OK to pass null as configuration argument, but MonoTouch currently throws an exception in this case.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2014-01-15 07:01:25 UTC
Fixed.

maccore/master: 425868edafecda57f14b92cb74166ec48c278cff
monotouch/master: 3f7ca6338f7a546fdba01b38fac91d9bd1d52d38

Unit tests added as well.
Comment 2 Nischal 2014-03-21 08:00:28 UTC
As per Comment#1 Unit test has added for this. Hence, changing the status to Verified.