PM-4090
This commit is contained in:
Paula V. Quispe
2015-11-26 14:25:25 -04:00
parent 4879d8089e
commit 272d4c9f43
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class TranslationMapBuilder
$tMap->addValidator('TRN_LANG', 'required', 'propel.validator.RequiredValidator', '', 'Language is required.');
$tMap->addValidator('TRN_VALUE', 'maxLength', 'propel.validator.MaxLengthValidator', '200', 'Value can be no larger than 200 in size');
$tMap->addValidator('TRN_VALUE', 'maxLength', 'propel.validator.MaxLengthValidator', '1500', 'Value can be no larger than 1500 in size');
$tMap->addValidator('TRN_VALUE', 'required', 'propel.validator.RequiredValidator', '', 'Value is required.');

View File

@@ -1392,7 +1392,7 @@
<rule name="required" message="Language is required."/>
</validator>
<validator column="TRN_VALUE">
<rule name="maxLength" value="200" message="Value can be no larger than ${value} in size"/>
<rule name="maxLength" value="1500" message="Value can be no larger than ${value} in size"/>
<rule name="required" message="Value is required."/>
</validator>
</table>