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


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

Submitted by:  -Deleted Account- <yjchen>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5