Tuukka Norri committed 0f0d315

Bug fixes
- Fixed a bug which caused object creation to fail in BXSynchronizedArrayController if it was instantiated in a nib and hadn't performed a fetch.
- Also removed an assertion to make -createObject: match its documentation.

Comments (0)

Files changed (1)


 - (id) createObject: (NSError **) outError
-	BXAssertValueReturn (NULL != outError, nil, @"Expected outError not to be NULL.");
+	if (! mEntityDescription)
+		[self prepareEntity];
 	NSDictionary* fieldValues = [self valuesForBoundRelationship];
 	mShouldAddToContent = (nil == fieldValues);
 	return [databaseContext createObjectForEntity: mEntityDescription