You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error when an anonymous trying to submit a form with an email field and to merge with a contact.
It occurs inside the createLeadFromSubmit method of the Mautic\FormBundle\Model\SubmissionModel class because to access the repository of the lead uses the getRepository method directly from Doctrine\ORM\EntityManager class.
Steps to reproduce
Create an extended custom field, for example: my_extended_field;
Create a form with the email and the points fields and bind them to the custom fields of a contact, for example:
Email: email
Points: points
Create a contact with filled an email only.
Put your form to a website.
Go to your website page with your form like an anonymous and try to submit the form.
Mautic: 2.16.0
Extended Fields: 2.15
PHP: 7.1.33
An error when an anonymous trying to submit a form with an email field and to merge with a contact.
It occurs inside the
createLeadFromSubmit
method of theMautic\FormBundle\Model\SubmissionModel
class because to access the repository of the lead uses thegetRepository
method directly fromDoctrine\ORM\EntityManager
class.Steps to reproduce
Email: email
Points: points
The error log:
The text was updated successfully, but these errors were encountered: