Closed Nelrann closed 7 years ago
When I try to extend FOSCommentbundle
<class name="FOS\CommentBundle\Model\Comment">
<property name="body">
<constraint name="NotBlank">
</constraint>
<constraint name="Length">
<option name="min">3</option>
<option name="max">10000</option>
</constraint>
</property>
</class>
i have 2 errors for body field
Issue resolved with last version of bundle 2.0.9
Hi Why not use symfony default error messages for constraints?
if i remove this line and this line
i have the same message translated but with the correct local
thx