You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/07/23 15:20:49 UTC

[jira] [Resolved] (CXF-5137) PrimitiveStatement.value contains unwanted data

     [ https://issues.apache.org/jira/browse/CXF-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-5137.
-----------------------------------

    Resolution: Invalid
      Assignee: Sergey Beryozkin

See the test added as part of this commit:
http://svn.apache.org/r1506030
                
> 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
>            Assignee: Sergey Beryozkin
>            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