Tapestry 5
  1. Tapestry 5
  2. TAP5-616

Hidden component does not properly decode submitted data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development