Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-197

Leading & trailing spaces not trimmed from ValidField

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0
    • Fix Version/s: 4.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Other
      Platform: All
    • Bugzilla Id:
      30312

      Description

      The contract for the IValidator interface states that the input parameter for
      toObject should already be trimmed on entry. This does not happen. I suspect
      that getParameter in RequestContext should be modified to trim the value. Also,
      what about getParameters?
      This bug causes problems with the numeric validators, string validators (eg,
      required, min. length), etc.

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              soptdc@rogers.com DWright
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: