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-2823) REST Client sending all lowercase post parameters
Date Fri, 09 Jul 2010 20:47:49 GMT

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


Mime
View raw message