bugGNUstep - Bugs: bug #3615, EOEntity fetchSpecification not...

 
 

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

bug #3615: EOEntity fetchSpecification not addable

Submitted by:  Dirk Lattermann <dlatt>
Submitted on:  Wed 14 May 2003 07:19:59 PM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Wed 14 May 2003 09:40:05 PM UTC, comment #1:

a: Yes, we also initialize the fetchSpecification dictionary lazy.
b: Yes the should be, and the NSDictionary has been changed to a NSMutableDictionary

Thanks again!

David Ayers <ayers>
Project MemberIn charge of this item.
Wed 14 May 2003 07:19:59 PM UTC, original submission:

One cannot add an EOFetchSpecification to EOEntity:
1. The method is now named
-addFetchSpecification:named:
it should be named
-addFetchSpecification:withName:

2.
a. EOEntity's _fetchSpecificationDictionary is not initialized in EOEntity's -init, so when calling addFetchSpecificatin:withName:, it is still nil.
b. It is initialized when the EOEntity is read from a property list, but then it is initialized as an NSDictionary (not mutable), so setObject:forKey: doesn't work in addFetchSpecification:withName:.

Don't know for a.: if the dictionary should be initialized in -init or in addFetchSpec... if it is still nil there
for b.: if an entity read from a property list is supposed to have addable fetch specifications.

Dirk Lattermann <dlatt>

 

No files currently attached

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 14 May 2003 09:40:05 PM UTCayersCategoryNone=>(Error - Not Found)
  Item GroupNone=>(Error - Not Found)
  StatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1