bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #4980] EODetailDataSource _masterClassDescriptionName not set


From: David Ayers
Subject: [bugs #4980] EODetailDataSource _masterClassDescriptionName not set
Date: Thu, 07 Oct 2004 10:11:49 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #4980] Latest Modifications:

Changes by: 
                David Ayers <d.ayers@inode.at>
'Date: 
                Thu 10/07/2004 at 14:04 (Europe/Vienna)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Unreproducible
         Assigned to | None                      | ayers
              Status | Open                      | Analyzed


------------------ Additional Follow-up Comments ----------------------------
My tests show that it would be wrong to initialize _masterKeyDescriptionName in 
initWithMasterDataSource:detailKey:.  If you are seeing exceptions during 
instertObject: I suppose you my have forgotten to call 
qualifyWithRelationshipKey:ofObject: before.    I get these exception in EOF 
also if I omit that call.






/**************************************************************************/
[bugs #4980] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=4980>
Project: GNUstep
Submitted by: Dirk Lattermann
On: Thu 08/28/2003 at 15:43

Category:  gdl2
Severity:  5 - Average
Item Group:  Bug
Resolution:  Unreproducible
Privacy:  Public
Assigned to:  ayers
Status:  Analyzed


Summary:  EODetailDataSource _masterClassDescriptionName not set

Original Submission:  Creating an EODetailDataSource from a master data source 
using dataSourceQualifiedByKey:, its _masterClassDescriptionName is not set. 
This results in an assertion failure when trying to fetch later.

It seems to me that the bug lies in -[EODetailDataSource 
initWithMasterDataSource: detailKey:]. There, self is initialized with a nil 
masterClassDescription. Instead of nil, [master classDescriptionForObjects] 
should be used.
(Line 86 of EODetailDataSource).


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


-------------------------------------------------------
Date: Thu 10/07/2004 at 14:04       By: David Ayers <ayers>
My tests show that it would be wrong to initialize _masterKeyDescriptionName in 
initWithMasterDataSource:detailKey:.  If you are seeing exceptions during 
instertObject: I suppose you my have forgotten to call 
qualifyWithRelationshipKey:ofObject: before.    I get these exception in EOF 
also if I omit that call.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=4980>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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