You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/04/02 17:24:12 UTC

[jira] Assigned: (TAP5-616) Hidden component does not properly decode submitted data

     [ https://issues.apache.org/jira/browse/TAP5-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-616:
-----------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>            Assignee: Howard M. Lewis Ship
>
> 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.