Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1318

Client Pattern constraint validator does not work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 5.2.1
    • None
    • tapestry-beanvalidator
    • None

    Description

      Error object field name for parameter spec in tapestry-beanvalidator.js (spec.pattern in place of spec.regexp):

      currently in 5.2.1 version:

      Tapestry.Validator.pattern = function(field, message, spec)
      {
      Tapestry.Validator.regexp(field, message, spec.pattern);
      };

      must be:

      Tapestry.Validator.pattern = function(field, message, spec)
      {
      Tapestry.Validator.regexp(field, message, spec.regexp);
      };

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vvv Vladimir Velikiy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: