bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #11694] EOQualifier creates wrong subclass in -qualifierWithQualif


From: Dirk Lattermann
Subject: [bugs #11694] EOQualifier creates wrong subclass in -qualifierWithQualifierFormat:
Date: Sat, 22 Jan 2005 09:42:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11694>

                 Summary: EOQualifier creates wrong subclass in
-qualifierWithQualifierFormat:
                 Project: GNUstep
            Submitted by: dlatt
            Submitted on: Sat 01/22/2005 at 09:42
                Category: gdl2
                Severity: 5 - Average
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

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];








    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11694>

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




reply via email to

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