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 Tue, 22 Aug 2017 13:39:00 GMT

    [ 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)

Mime
View raw message