You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/08/22 13:39:00 UTC
[jira] [Commented] (CXF-7481) FiqlParser throws
SearchParseException on empty string value
[ https://issues.apache.org/jira/browse/CXF-7481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136806#comment-16136806 ]
Sergey Beryozkin commented on CXF-7481:
---------------------------------------
I think I'm going to mark it as Works As Expected. The rules of the language is that a right hand value has to be specified and attempting to tweak the language parsing rules in order to support searching the beans with some uninitialized/empty values does not seem to be a good idea to me. Besides that won't work either way for the Olingo extension of the abstract parser code
> 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)