Client Pattern constraint validator does not work correctly
-----------------------------------------------------------
Key: TAP5-1318
URL: https://issues.apache.org/jira/browse/TAP5-1318
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-beanvalidator
Affects Versions: 5.2.1
Reporter: Vladimir Velikiy
Priority: Critical
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);
};
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.