Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1799

StringLength validator is inconsistent client side and server side

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 2.1.0
    • Core Actions
    • None
    • Patch

    Description

      There is an issue with the StringLengthValidator when you submit a blank text field when haven't specified the RequiredStringValidator. Client side the StringLengthValidator is validating (wrong way), Server side it is not validating (right way). It's quite obvious when looking in the generated client side src code.

      Attachments

        Activity

          People

            husted Ted Husted
            riise Mads Riise Ladefoged
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: