This topic contains 5 replies, has 2 voices, and was last updated by archy_bold 7 years, 11 months ago.
- Topic
Hi there.
I’m having a bit of trouble adding contact activity to my custom entities, Customer and Order. Rather than do it through the entity management, I’m doing it through migrations.
So I added the activity associations as outlined in the activity bundle readme which, once migrations have run, adds all the relevant buttons and views to the page. All good so far.
My troubles start when I actually try to add a call (I guess email too, but without a mailing server setup I can’t test that yet). On submitting I get the following error:
Neither the property “ac_contact_count” nor one of the methods “getAcContactCount()”, “acContactCount()”, “isAcContactCount()”, “hasAcContactCount()”, “__get()” exist and have public access in class “TrueConnectivityLtd\Bundle\OroCrmBundle\Entity\Customer”.
Which, on investigation, is because I’m missing all manner of columns related to activity contact on my entity. I found a little information on this in this readme which alludes to an ActivityContactMigrationQuery migration that needs to run. I can see it passing over this migration when running the migration command but the columns aren’t added to my entity.
I’m using the Magento bundle as my point of reference, but I see nothing related to the ActivityContact Bundle in there.
Am I doing something wrong? Is there another command I need to run?
Thanks,
Simon
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.