You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Swarup (JIRA)" <ji...@apache.org> on 2013/04/05 19:39:15 UTC

[jira] [Commented] (CXF-4949) FIQL - searchContext returns null SearchCondition

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

Swarup commented on CXF-4949:
-----------------------------

It seems to be case-insensitive. If I use lowestprice, it seems to recognize the property name even though property name is in camelcase: lowestPrice.

Is that a bug?
                
> FIQL - searchContext returns null SearchCondition
> -------------------------------------------------
>
>                 Key: CXF-4949
>                 URL: https://issues.apache.org/jira/browse/CXF-4949
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.6.6
>            Reporter: Swarup
>
> Hi,
> I'm trying the fiql expression for the first time, and I get null searchCondition. But when i print the searchContext.getSearchExpression(), it seems to have parsed the query param fine with: lowestPrice=gt=10
> SearchCondition<TourTicketStats> sc = searchContext.getCondition(filterContext.getSearchExpression(), TourTicketStats.class);
> I'm atleast expecting some kind of exception raised if it's not able to parse it. 
> Any help to debug it is appreciated.
> Using v2.6.6
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira