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] [Resolved] (CXF-5137) PrimitiveStatement.value contains unwanted data
Date Tue, 23 Jul 2013 13:20:49 GMT

     [ 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

Mime
View raw message