mautic-extended-field icon indicating copy to clipboard operation
mautic-extended-field copied to clipboard

Editing contact's extended field does not save the value

Open OmerGafny opened this issue 4 years ago • 7 comments

Hi guys,

I created an extended text area field. When i tried to edit a contact manually, and add some text in the field, the text was not saved, and the following exception was thrown:

[2020-02-13 19:41:37] mautic.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMException: "Entity 'Mautic\LeadBundle\Entity\LeadField' has no field 'alias'. You can therefore not call 'findOneByAlias' on the entities' repository" at /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 184 {"exception":"[object] (Doctrine\ORM\ORMException(code: 0): Entity 'Mautic\LeadBundle\Entity\LeadField' has no field 'alias'. You can therefore not call 'findOneByAlias' on the entities' repository at /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:184)"} []

can you please help?

OmerGafny avatar Feb 13 '20 17:02 OmerGafny

What version are you running?

heathdutton avatar Feb 13 '20 18:02 heathdutton

2.15.3

OmerGafny avatar Feb 13 '20 18:02 OmerGafny

Do you have more trace details on that error? It's not one we've hit and might not be related. Also try refreshing your plugins via /s/plugins/reload

heathdutton avatar Feb 13 '20 18:02 heathdutton

Hi Heath, When i look in phpmyadmin i can see that the field was created in the "lead_fields" table, but it do not appear under any other table that was created by the plugin (for example, the field i created was an extended text field, it does not appear in the "lead_fields_leads_text_xref" table. Might be a permission issue?

OmerGafny avatar Feb 13 '20 18:02 OmerGafny

@OmerGafny Did you resolve this issue? I am having the same problem. Any help would be appreciated

rogerwilks avatar Nov 15 '20 14:11 rogerwilks

@heathdutton do you know if there was a resolution to this? im having a similar issue and getting the same message. it seems to be linked to some field types, in my case its select fields. Any help would be appreciated

rogerwilks avatar Nov 18 '20 08:11 rogerwilks

guys, can you give me any help here? having installed this plugin I am now getting the same error and am being locked out from all forms that have select fields - I can't even deactivate or remove them. It's even locking me out from some contacts!

I've tried to uninstall the plugin but can do that either. I'm getting desperate!

rogerwilks avatar Nov 20 '20 08:11 rogerwilks