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

 
 

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

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

Submitted by:  Dirk Lattermann <dlatt>
Submitted on:  Sat 22 Jan 2005 09:42:29 AM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

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>
Project MemberIn charge of this item.
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>

 

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

Date Changed By Updated Field Previous Value => Replaced By
Sat 22 Jan 2005 03:08:33 PM UTCayersStatusNone=>Fixed
  Assigned toNone=>ayers
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1