bugGNUstep - Bugs: bug #11694, EOQualifier creates wrong subclass...

Group
 
 

bug #11694: EOQualifier creates wrong subclass in -qualifierWithQualifierFormat:

Submitter:  Dirk Lattermann <dlatt>
Submitted:  Sat 22 Jan 2005 09:42:29 AM UTC
   
 
Category:  gdl2 Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  ayers Open/Closed:  Closed
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 22 Jan 2005 03:08:33 PM UTC, comment #1: 

Thanks! should be fixed in CVS.  The parsing in that area is still very volatile though, but I don't have the resources to rewrite it now.

David Ayers <ayers>
Group Member
Sat 22 Jan 2005 09:42:29 AM UTC, original submission:  

EOQualifier *qual = [EOQualifier qualifierWithQualifierFormat:
     @"anIntAttr = 0"];

creates an EOKeyComparisonQualifier instead of an EOKeyValueQualifier. The bug seems to lie in EOQualifier.m,
function getKey() (line 183): numeric literals don't set the isKeyValue flag.

Workaround: use the format feature, i.e., for the above example, use

EOQualifier *qual = [EOQualifier qualifierWithQualifierFormat:
     @"anIntAttr = %d", 0];

Dirk Lattermann <dlatt>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-22 ayers StatusNone Fixed
    Assigned toNone ayers
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code