Chris Eineke created CXF-5137:
---------------------------------

             Summary: PrimitiveStatement.value contains unwanted data
                 Key: CXF-5137
                 URL: https://issues.apache.org/jira/browse/CXF-5137
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.6.7
            Reporter: Chris Eineke
            Priority: Critical


I'm using SearchContext in conjunction with SearchBean to extract search 
parameters from the _s query parameter. Unfortunately there seems to be a 
parsing issue, because providing a search query like

?_s=name==CXF

and visitor implementation like this

            @Override
            public void visit(SearchCondition<SearchBean> sc) {
                PrimitiveStatement p = sc.getStatement();
                if (p != null) {
                    LOGGER.error("{} {} {}", p.getProperty(), p.getCondition(), 
p.getValue());
                }
            }

will log

name EQUALS CXF?=

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

Reply via email to