[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix, GDL2, EODatabaseContext (debug logging)
From: |
Georg Fleischmann |
Subject: |
Fix, GDL2, EODatabaseContext (debug logging) |
Date: |
Mon, 28 Apr 2008 17:20:08 +0800 |
here is one more for debug logging in [EODatabaseContext -
initializeObject:entity:editingContext:].
The fix uses [dictionaryForPrimaryKey debugDescription] for logging,
as -description will throw an exception (on Mac OS X) if the
dictionary contains <null> entries.
Best wishes,
Georg Fleischmann
*** EOAccess/EODatabaseContext.m.old Wed Apr 9 14:13:57 2008
--- EOAccess/EODatabaseContext.m Mon Apr 28 15:05:16 2008
***************
*** 6712,6718 ****
if (![foreignKeyForSourceRow
containsObjectsNotIdenticalTo: GDL2_EONull])
{
! NSLog(@"foreignKeyForSourceRow=%@",
[foreignKeyForSourceRow description]);
NSEmitTODO();//TODO: what to do if rel is
mandatory ?
relObject = nil;
}
--- 6712,6718 ----
if (![foreignKeyForSourceRow
containsObjectsNotIdenticalTo: GDL2_EONull])
{
! NSLog(@"foreignKeyForSourceRow=%@",
[foreignKeyForSourceRow debugDescription]);
NSEmitTODO();//TODO: what to do if rel is
mandatory ?
relObject = nil;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix, GDL2, EODatabaseContext (debug logging),
Georg Fleischmann <=