mautic-recaptcha icon indicating copy to clipboard operation
mautic-recaptcha copied to clipboard

Float casting on minScore field

Open godiez opened this issue 2 years ago • 2 comments

If the user language is set with a certain value (I tryed German, French, Spanish...) different from System Default Locale, when you try to create a reCaptcha type on forms and save it, it triggers symfony validator and raises a 500 error:

mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\TransformationFailedException: "Unable to transform value for property path "[minScore]": Expected a numeric."

godiez avatar Apr 13 '22 08:04 godiez

@KonstantinCodes looks like a good fix. Thanks @godiez

adiux avatar Nov 09 '22 11:11 adiux

@KonstantinCodes can this be merged?

adiux avatar Dec 06 '22 10:12 adiux