bugGNUstep - Bugs: bug #3577, EODatabaseDataSource doesn't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3577: EODatabaseDataSource doesn't create fetchSpecification on init

Submitted by:  Dirk Lattermann <dlatt>
Submitted on:  Tue 13 May 2003 08:30:45 PM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Wed 14 May 2003 12:06:32 PM UTC, comment #1:

I've attached a patch which I still need to verify agains WO 4.5 but I'm pretty confident that it is correct.

The problem with the proposed patch is, that it will still assign a nil value for the fetch specification, if a name is supplied but the entity doesn't have a corresponding fetch specification and because the newly created fetch specification was autoreleased and not retained by the data source.

David Ayers <ayers>
Project MemberIn charge of this item.
Tue 13 May 2003 08:30:45 PM UTC, original submission:

the method -initWithEditingContext: entityName: fetchSpecificationName: should create a fetchSpecification that fetches all entities if a name of nil is specified. It doesn't do this, so a call to -entity later will fail, because it gets the entity name from the entry in the fetchSpecification.

A feeble patch attempt is attached.

Dirk Lattermann <dlatt>

 

Attached Files
file #447:  gdl2.patch added by ayers (2KiB - application/octet-stream - gdl2 EODatabaseDataSource patch)
file #442:  x. added by dlatt (597B - application/octet-stream - naive patch attempt)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 14 May 2003 09:36:31 PM UTCayersStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Wed 14 May 2003 12:06:32 PM UTCayersAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1