RE: WOF 4.0, NT 4 SP 3

Hey guys,

        We just spent the last week trying to address what was for us a  
fatal problem in the appkit which prevented  us from testing our app.  Thanks  
to some wonderful help from Apple, we were able to implement a fix.

        So, I embarked on testing our app and didn't get more than 5 minutes  
in when I found yet another problem.  As you can imagine, I'm a little tired  
right now.  Before I go off and spend a few days tracking this down, does  
anyone know if there are any issues in EOF 3.0 with many-many relationships  
involving horizontal inheritance structures?   The situation which caused the  
exception below did not cause any problems under EOF 2.2.  Neither the code  
nor the model has changed in the port, so I'm struggling to understand what's  
wrong.  The only marginally interesting aspect of this is that we have a  
many-many between OfficeVisits and Payments where Payments is a concrete  
subentity of another entity in a horizontal inheritance arrangement.  Do I  
need to update my model with new information?  Is there anyone else with a  
similar arrangement who can verify that this does/should work?  Any  
information would be appreciated.

Regards,
Paul

Breakpoint 1, 0x320411e3 in -[NSException raise] ()
(gdb) f 0
#0  0x320411e3 in -[NSException raise] ()
(gdb) pself
$1 = (NSObject *) 0x20b2dc0
(gdb) po $1
*** NSMapInsertKnownAbsent(): attempt to insert notAKeyMarker
(gdb) where
#0  0x320411e3 in -[NSException raise] ()
#1  0x32041425 in +[NSException raise:format:arguments:] ()
#2  0x320413b7 in +[NSException raise:format:] ()
#3  0x3201b259 in NSMapInsertKnownAbsent ()
#4  0x4604344d in -[EODatabaseContext(EODatabaseSaving)
recordDatabaseOperation:] ()
#5  0x46043946 in -[EODatabaseContext(EODatabaseSaving)
databaseOperationForIntermediateRowFromSourceObject:relationship:destinationObject:]  

()
#6  0x4604396a in -[EODatabaseContext(EODatabaseSaving)
recordInsertForIntermediateRowFromSourceObject:relationship:destinationObject:]  
()
#7  0x46043a00 in -[EODatabaseContext(EODatabaseSaving)
relayAttributesInRelationship:sourceObject:destinationObject:] ()
#8  0x46043c66 in -[EODatabaseContext(EODatabaseSaving)
relayAttributesInRelationship:sourceObject:destinationObjects:] ()
#9  0x460461b2 in -[EODatabaseContext(EODatabaseSaving)
recordChangesInEditingContext] ()
#10 0x4403515e in -[EOObjectStoreCoordinator
saveChangesInEditingContext:] ()
#11 0x44027e74 in -[EOEditingContext saveChanges] ()
#12 0x9940fc in -[LGSEOEditingContextManager
saveChangesToEditingContext:] (
    self=0x20b3ed0, _cmd=0x9aeeaa, sender=0x20b3e40)
    at LGSEOEditingContextManager.m:93
#13 0x98f808 in -[LGSEnterpriseObjectNavigationState save]
(self=0x20b3e40,
    _cmd=0x9a890c) at LGSEnterpriseObjectNavigationState.m:979
#14 0x985cb9 in -[LGSBusinessProcessState finish] (self=0x20b3e40,
    _cmd=0x9a8707) at LGSBusinessProcessState.m:115
#15 0x10c7f94 in -[LGSBusinessProcessesController finish:]
(self=0x20b3100,
    _cmd=0x10f9e64, sender=0x21a9ad0) at
LGSBusinessProcessesController.m:180
#16 0x10c7f6c in -[LGSBusinessProcessesController nextFinishRepeat:] (
... < cut for brevity >

(gdb) f 4
#4  0x4604344d in -[EODatabaseContext(EODatabaseSaving)
recordDatabaseOperation:] ()
(gdb) p1
{
    _databaseOperator = EODatabaseNothingOperator;
    _dbSnapshot = {officeVisitId = 2053; };
    _entity = OfficeVisitPayments;
    _newRow = {officeVisitId = 2053; };
}
(gdb) up
#4  0x4604344d in -[EODatabaseContext(EODatabaseSaving)
recordDatabaseOperation:] ()
(gdb) up
#5  0x46043946 in -[EODatabaseContext(EODatabaseSaving)
databaseOperationForIntermediateRowFromSourceObject:relationship:destinationObject:]  

()
(gdb) p1
<LGSOfficeVisit 0x21b7bf0 {
        Patient = Turnquist, Sylvia
        }
(gdb) p2
{
    definition = toOfficeVisitPayments.payment;
    joinSemantic = EOInnerJoin;
    name = payments;
}
(gdb) p3

<LGSPayment 0x213ad00 {
        Billing Item = <LGSBillingItem 0x2188d80> {
        AccountingDate = 03/25/1999
        Amount = $10.00
        Balance = $10.00
        Description = Payment - Turnquist, Sylvia
}
        Payor = Turnquist, Sylvia

(gdb)


---

Paul Summermatter

LGS Systems, Inc.
Medical Computing Division

15 TJ Gamester Ave
Portsmouth, NH 03801-5871
(603) 433-9822          voice
(603) 433-9818          fax
(888) 898-6321          pager
[EMAIL PROTECTED]      paging email

[EMAIL PROTECTED]
(NeXT or MIME Mail Welcome)
http://www.lgs-systems.com

Reply via email to