Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      tapestry 4.1.1

      Description

      in tapestry.form.validator.Pattern

      private String buildMessage(ValidationMessages messages, IFormComponent field)
      {
      return messages.formatValidationMessage(
      getMessage(),
      ValidationStrings.REGEX_MISMATCH,
      new Object[]

      { _pattern, field.getDisplayName() }

      );
      }

      In ValidationStrings.properties

      regex-mismatch=

      {0}

      is invalid.

      so the message is ${_pattern} is valid.I think the message should be ${field.getDisplayName()} is invalid.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bitiboy Jun Tsai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: