Hidden component does not properly decode submitted data
--------------------------------------------------------
Key: TAP5-616
URL: https://issues.apache.org/jira/browse/TAP5-616
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.1.0.2
Reporter: Andrej Aschenbrenner
In the new Hidden component in method:
private void processSubmission(String controlName)
{
String encoded = request.getParameter(controlName);
Object decoded = encoder.toClient(encoded);
value = decoded;
}
the line
Object decoded = encoder.toClient(encoded);
should be
Object decoded = encoder.toValue(encoded);
Thanks,
Andrej Aschenbrenner
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.