bugGNUstep - Bugs: bug #20215, NSPredicate does not recognize...

Group
 
 

bug #20215: NSPredicate does not recognize '>=', '<=', and '<>'

Submitter:  -Deleted Account- <yjchen>
Submitted:  Wed 20 Jun 2007 01:23:01 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Jun 2007 04:37:23 AM UTC, comment #1: 

Fixed to scan for operators in the correct order.  Thanks.

Richard Frith-Macdonald <CaS>
Group Member
Wed 20 Jun 2007 01:23:01 AM UTC, original submission:  


I think it does not expect a second character after '<' or '>'.
This is an example of error:

2007-06-19 18:18:19.078 ukrun[1032] Parsing failed for %K <> %@ with <NSException: 0x101843e0> NAME:NSInvalidArgumentException REASON:Missing identifier: > %@
:: warning: Error in test [PredicateTest:testNumber]. Uncaught exception NSInvalidArgumentException


The rest works: '==', '!=', '>', '<', '='.

-Deleted Account- <yjchen>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by yjchen (Submitted the item)
  •  

    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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-20 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code