Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float casting on minScore field #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

godiez
Copy link

@godiez godiez commented Apr 13, 2022

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."

@adiux
Copy link

adiux commented Nov 9, 2022

@KonstantinCodes looks like a good fix. Thanks @godiez

@adiux
Copy link

adiux commented Dec 6, 2022

@KonstantinCodes can this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants