bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs in GDL2/EOAccess/EODatabaseContext.m


From: David Ayers
Subject: Re: Bugs in GDL2/EOAccess/EODatabaseContext.m
Date: Sat, 05 Apr 2003 11:53:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Stéphane Corthésy wrote:

Hi,

Three bugs in gdl2/EOAccess/EODatabaseContext.m:

- in setDelegate:, the == in the while loop must be replaced by a single =

Thanks!

- in -relayPrimaryKey:object:entity:, the test if(isToMany) must be done only if value != nil

This sounds sane, but I think I'll have to look into the implementation a bit more, to see what the circumstances are in which the relationship doesn't exist.

- in -_fireArrayFault:, the call [EOFault clearFault: object] must be replaced by [object self], because it may happen that object is not a fault, thus the call would raise; invoking self instead clears the fault if it is one

I'll also have to look closer into this, to see if _fireArrayFault: (or rather EO(Access)FaultHandler completeInitializationOfObject:) should be legaly be called with a non-fault-object at all. Not that we are covering up a but in another area.

Cheers,
Dave






reply via email to

[Prev in Thread] Current Thread [Next in Thread]