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

Form submission not working when user is logged on Mautic #4462

Closed
rc125 opened this issue Jul 18, 2017 · 3 comments
Closed

Form submission not working when user is logged on Mautic #4462

rc125 opened this issue Jul 18, 2017 · 3 comments
Labels
bug Issues or PR's relating to bugs

Comments

@rc125
Copy link
Contributor

rc125 commented Jul 18, 2017

What type of report is this:

Q A
Bug report? Y
Feature request?
Enhancement?

Description:

Form submission not workinking when the user is logged on Mautic

If a bug:

Q A
Mautic version 2.9.0
PHP version 7.0

Steps to reproduce:

  1. Apply PR #4415
  2. Create a Form
  3. On Submit Action add "Modify contact's segments" and add the contact to a segment
  4. Submit Form

Log errors:

[2017-07-17 20:42:39] mautic.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMInvalidArgumentException: "A new entity was found through the relationship 'Mautic\LeadBundle\Entity\ListLead#lead' that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #. 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/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 92

@rc125 rc125 changed the title Form submission not workinking when the user is logged on Mautic Form submission not working when the user is logged on Mautic Jul 18, 2017
@rc125 rc125 changed the title Form submission not working when the user is logged on Mautic Form submission not working when user is logged on Mautic Jul 18, 2017
@escopecz escopecz added the bug Issues or PR's relating to bugs label Jul 18, 2017
@escopecz
Copy link
Sponsor Member

I'll close this issue in favour of #4520 since its title describes the problem better.

@gingerling
Copy link

I don't think it's the same issue, I have been meaning to report this myself. I have found when I am logged in to mautic and test a form, the form throws a 404. It works okay in a private browsing session so it seems being logged in is the cause. I read some of the 404 thread and wasn't sure if it was related or not.

@gingerling
Copy link

To clarify, by "test a form" I mean fill one out. Applies to both mautic pages and forms embedded on other pages.

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
Projects
None yet
Development

No branches or pull requests

3 participants