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 2010/07/09 22:47:49 UTC
[jira] Resolved: (CXF-2823) REST Client sending all lowercase post
parameters
[ https://issues.apache.org/jira/browse/CXF-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2823.
-----------------------------------
Fix Version/s: 2.3
2.2.10
Resolution: Fixed
> REST Client sending all lowercase post parameters
> -------------------------------------------------
>
> Key: CXF-2823
> URL: https://issues.apache.org/jira/browse/CXF-2823
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.2.8
> Reporter: Jeff Peterson
> Fix For: 2.3, 2.2.10
>
>
> It appears that the InjectionUtils class in the fillInValuesFromBean method grabs all the getter methods from the bean being posted as form data and does a toLowerCase() on everthing after "get" to come up with the parameter names.
> Example:
> public class BeanExample {
> private String fooBar = "test";
> public String getFooBar() {
> return fooBar;
> }
> }
> would post:
> foobar=test
> but I'd expect it to post:
> fooBar=test
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.