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

Leading & trailing spaces not trimmed from ValidField

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 3.0
    • 4.1
    • Framework
    • None
    • Operating System: Other
      Platform: All
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment