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

Hidden component does not properly decode submitted data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0.2
    • 5.1.0.3
    • tapestry-core
    • 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

              hlship Howard Lewis Ship
              aschenbrenner Andrej Aschenbrenner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: