[jboss-jira] [JBoss JIRA] (WFLY-2314) @Consumes(MediaType.APPLICATION_FORM_URLENCODED) MultivaluedMap<String, String> form did not work in RESTEasy JAX-RS 3.0.4.Final
Matti Linnanvuori (JIRA)
jira-events at lists.jboss.org
Wed Oct 16 05:59:02 EDT 2013
Matti Linnanvuori created WFLY-2314:
---------------------------------------
Summary: @Consumes(MediaType.APPLICATION_FORM_URLENCODED) MultivaluedMap<String, String> form did not work in RESTEasy JAX-RS 3.0.4.Final
Key: WFLY-2314
URL: https://issues.jboss.org/browse/WFLY-2314
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 8.0.0.Beta1
Environment: Linux Debian
Reporter: Matti Linnanvuori
Assignee: Stuart Douglas
@Consumes(MediaType.APPLICATION_FORM_URLENCODED) did not work with RESTEasy JAX-RS 3.0.4.Final but the form variable was empty. @FormParam works.
The following interface change made it work:
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
public abstract StatusElement lockRunsForTrips(MultivaluedMap<String, String> form);
to
public abstract StatusElement lockRunsForTrips(@FormParam("run_id") List<String> runIdStrings);
--
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
More information about the jboss-jira
mailing list