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

[FormBundle] Moved FormMailer dependency to separate listener #2391

Merged
merged 4 commits into from Mar 21, 2019
Merged

[FormBundle] Moved FormMailer dependency to separate listener #2391

merged 4 commits into from Mar 21, 2019

Conversation

devigner
Copy link
Contributor

@devigner devigner commented Feb 27, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #2390

Moved sending the email to a listener. The listener can be removed when no email needs to be send after form submission. For example when the form submission is used to create a MailChimp user.

Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @devigner, your PR needs some changes

  • your PR title should look like [SomeBundle] Fixed some code

@devigner devigner changed the title Moved FormMailer dependency to separate listener [FormBundle] Moved FormMailer dependency to separate listener Feb 27, 2019
Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @devigner, your PR passed all our requirements.

Thank you for contributing!

@devigner
Copy link
Contributor Author

devigner commented Mar 7, 2019

The 'SymfonyInsight: kunstmaanlabs / KunstmaanBundlesCMS' failure is caused by code outside my PR.

@@ -3,6 +3,7 @@
namespace Kunstmaan\FormBundle\Event;

use Kunstmaan\FormBundle\Entity\FormSubmission;
use Kunstmaan\FormBundle\Helper\FormPageInterface;
use Kunstmaan\NodeBundle\Entity\AbstractPage;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you switch out all of the AbstractPage typehints because this is an unused use statement now.

@Devolicious Devolicious added this to the 5.3.0 milestone Mar 21, 2019
@Devolicious Devolicious merged commit f2374b0 into Kunstmaan:master Mar 21, 2019
@devigner devigner deleted the move-send-email-to-listener-2390 branch March 21, 2019 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants