Tapestry
  1. Tapestry
  2. TAPESTRY-2591

Email Validator Throws MissingFormatArgumentException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.0.15
    • Component/s: Core Components
    • Labels:
      None

      Description

      Now that TAPESTRY-2585 has been fixed, a new issue has come up.

      Now when trying to visir a page with an email validator on it, the following error is thrown:

      java.util.MissingFormatArgumentException
      Format specifier '2$s'

      Stack trace

      • java.util.Formatter.format(Formatter.java:2454)
      • java.util.Formatter.format(Formatter.java:2383)
      • java.lang.String.format(String.java:2825)
      • org.apache.tapestry5.ioc.internal.util.MessageFormatterImpl.format(MessageFormatterImpl.java:49)
      • org.apache.tapestry5.validator.Email.buildMessage(Email.java:52)
      • org.apache.tapestry5.validator.Email.render(Email.java:47)
      • org.apache.tapestry5.validator.Email.render(Email.java:28)
      • org.apache.tapestry5.internal.services.FieldValidatorImpl.render(FieldValidatorImpl.java:56)
      • org.apache.tapestry5.internal.services.CompositeFieldValidator.render(CompositeFieldValidator.java:45)
      • org.apache.tapestry5.corelib.base.AbstractTextField.begin(AbstractTextField.java:177)
      • org.apache.tapestry5.corelib.base.AbstractTextField.beginRender(AbstractTextField.java)

        Activity

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Dave Dombrosky
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development