[
https://issues.apache.org/jira/browse/CXF-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623963#comment-13623963
]
Sergey Beryozkin commented on CXF-4949:
---------------------------------------
SearchCondition<TourTicketStats> sc =
searchContext.getCondition(TourTicketStats.class);
should actually do it:
SearchCondition<TourTicketStats> sc =
searchContext.getCondition(someExpression, TourTicketStats.class);
really makes sense when this 'someExpression' came from say a captured path
expression (as opposed to from a _s query). etc
I'll have a look at the case-sensitivity issue either way
> 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