bug-gnustep
[Top][All Lists]
Advanced

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

[Bug #3577] EODatabaseDataSource doesn't create fetchSpecification on in


From: nobody
Subject: [Bug #3577] EODatabaseDataSource doesn't create fetchSpecification on init
Date: Wed, 14 May 2003 17:36:32 -0400

=================== BUG #3577: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3577&group_id=99

Changes by: David Ayers <d.ayers@inode.at>
Date: Wed 05/14/2003 at 23:36 (Europe/Vienna)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed




=================== BUG #3577: FULL BUG SNAPSHOT ===================


Submitted by: dlatt                   Project: GNUstep                      
Submitted on: Tue 05/13/2003 at 22:30
Category:  gdl2                       Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  Fixed                    
Assigned to:  ayers                   Status:  Closed                       

Summary:  EODatabaseDataSource doesn't create fetchSpecification on init

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.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 05/14/2003 at 14:06       By: ayers
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.



CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Wed 05/14/2003 at 14:06  Name: gdl2.patch  Size: 1KB   By: ayers
gdl2 EODatabaseDataSource patch
http://savannah.gnu.org/bugs/download.php?group_id=99&amp;bug_id=3577&amp;bug_file_id=450

-------------------------------------------------------
Date: Tue 05/13/2003 at 22:30  Name: x.  Size: 0KB   By: dlatt
naive patch attempt
http://savannah.gnu.org/bugs/download.php?group_id=99&amp;bug_id=3577&amp;bug_file_id=445


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3577&group_id=99




reply via email to

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