Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-616

Hidden component does not properly decode submitted data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.2
    • Fix Version/s: 5.1.0.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                aschenbrenner Andrej Aschenbrenner
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: