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-4949) FIQL - searchContext returns null SearchCondition
Date Fri, 05 Apr 2013 19:51:16 GMT

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

Sergey Beryozkin commented on CXF-4949:
---------------------------------------

As far as I recall, Beanspector converts the property names to a low case; this can explain
why the query with a property containing a camel case is not matched - this should always
work I guess. 
FYI, you can always follow http://cxf.apache.org/docs/jax-rs-search.html#JAX-RSSearch-Mappingofquerypropertiestobeanproperties
to get the match, but in this case it is redundant indeed   
                
> 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

Mime
View raw message