cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-7481) FiqlParser throws SearchParseException on empty string value
Date Wed, 23 Aug 2017 10:05:00 GMT


Sergey Beryozkin commented on CXF-7481:

I was thinking more about it and if we were to support the expressions like "n==" then for
the sake of the language consistency we'd need to support "n>=" probably implying a number
value bigger or equal to 0, etc and it would introduce the extra complexity. I just do not
see the real benefit in supporting searching the beans with the uninitialized values 

> FiqlParser throws SearchParseException on empty string value
> ------------------------------------------------------------
>                 Key: CXF-7481
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Raymond Wells
> How to reproduce:
> Try to pass a comparison with an empty string into FiqlParser#parse. Example: 
> {{name==}}
> Expected Result:
> Parser treats expression as a comparison between the property 'name' and an empty string
value ''.
> Actual Result:
> Parser throws SearchParseException.

This message was sent by Atlassian JIRA

View raw message