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

Mautic2.2 on-site Sugacrm integration KO #2697

Closed
YannickBiet opened this issue Oct 10, 2016 · 1 comment
Closed

Mautic2.2 on-site Sugacrm integration KO #2697

YannickBiet opened this issue Oct 10, 2016 · 1 comment
Labels
bug Issues or PR's relating to bugs ready-to-test PR's that are ready to test
Milestone

Comments

@YannickBiet
Copy link

| Bug report? |

Description:

I installed Mautic 2.2.0 on my own server (php7 / debian8 / apache 2.4)
I then configured SugarCRM integration to connect to my Sugar ONDemand instance (sugar entreprise 7.7.1.1)

As soon as I set in my form the action Push to integration the form is broken, the contact is recorded within mautic, but no actions are triggered on the form's action list :

  • score not updated
  • no assets downloaded
  • no integration within my CRM

If a bug:

| Mautic version 2.2.0 |
| PHP version 7.0.11 |

Steps to reproduce:

  1. Install Mautic
  2. Setup sugarcrm connector (version 7.x using admin account oauth 2.0 access token created inside sugar / authroize app / setup a very basic mapping using email last name + first name)

Log errors:

here's the log trace found in system info :
[2016-10-10 16:01:26] mautic.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMInvalidArgumentException: "A new entity was found through the relationship 'Mautic\FormBundle\Entity\Submission#lead' that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #169. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @manytoone(..,cascade={"persist"})." at /var/www/mautic/www_demo/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 92 {"exception":"[object](Doctrine\ORM\ORMInvalidArgumentException%28code: 0%29: A new entity was found through the relationship 'Mautic\FormBundle\Entity\Submission#lead' that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #169. To solve this issue: Either explicitly call EntityManager#persist%28) on this unknown entity or configure cascade persist this association in the mapping for example @manytoone(..,cascade={"persist"}). at /var/www/mautic/www_demo/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

@escopecz escopecz added the bug Issues or PR's relating to bugs label Oct 10, 2016
@escopecz escopecz added this to the 2.2.1 milestone Oct 10, 2016
@escopecz
Copy link
Sponsor Member

Should be fixed by #2669. Please test if it's possible and comment bellow the PR.

@escopecz escopecz added the ready-to-test PR's that are ready to test label Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs ready-to-test PR's that are ready to test
Projects
None yet
Development

No branches or pull requests

2 participants