This topic contains 2 replies, has 2 voices, and was last updated by acll19 9 years ago.
- Topic
I added two attachment fields to the Lead entity, when I go to the Entity Managment on the frontend I can see that the fields were added, but when I create a Lead the fields are not showing. Also when I try to view a Lead I get this exception:
An exception has been thrown during the rendering of a template (“An exception occurred while executing ‘SELECT count(o0_.id) AS sclr0 FROM oro_attachment o0_ LEFT JOIN orocrm_sales_lead o1_ ON o0_.lead_5b29b7d2_id = o1_.id AND (o1_.organization_id = 1) WHERE o1_.id = ? AND o0_.organization_id = 1’ with params [“101″]:SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘o0_.lead_5b29b7d2_id’ in ‘on clause'”) in /var/www/html/crm-application/vendor/oro/platform/src/Oro/Bundle/AttachmentBundle/Resources/views/Attachment/widget/attachments.html.twig at line 1.
So my question is: do I have to do something to activate such fields?
Note: I added two more string-typed fields to the Lead entity and they show in the grid and the creation form.
I will appreciate any help.
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.