Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Validation/Conversion
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      668
    • Status Whiteboard:
      Hide

      cat1 frame changelog size_small importance_small

      Show
      cat1 frame changelog size_small importance_small

      Description

      Section 2.5.2.4 of the JSF spec lists the standard error messages for the length
      validator as

      javax.faces.validator.LengthValidator.MAXIMUM –

      {1}: Validation Error: Value is
      greater than allowable maximum
      of ‘’{0}’’
      javax.faces.validator.LengthValidator.MINIMUM – {1}

      : Validation Error: Value is
      less than allowable minimum of
      ‘’

      {0}

      ’’

      Suppose I set a minimum length of 5 for a zip code, and the user enters 9410.
      The message

      Validation Error: Value is less than allowable minimum of ‘5’

      is not likely to be comprehensible to the average user--after all, 9410 is
      larger than 5.

      Suggestion: Change to

      Validation Error: Length is less than allowable minimum of 5.

        Activity

        Hide
        rogerk added a comment -

        changelog

        Show
        rogerk added a comment - changelog
        Hide
        rogerk added a comment -

        Reopening as Chinese file contains bad characters for LengthValidator message.
        We will have run this by the L10N team to do this right.

        Show
        rogerk added a comment - Reopening as Chinese file contains bad characters for LengthValidator message. We will have run this by the L10N team to do this right.
        Hide
        rogerk added a comment -

        Created an attachment (id=288)
        Restored Changes

        Show
        rogerk added a comment - Created an attachment (id=288) Restored Changes
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            cayhorstmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: