cxf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CXF-7481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138176#comment-16138176
] 

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: https://issues.apache.org/jira/browse/CXF-7481
>             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
(v6.4.14#64029)

Mime
View raw message