Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1938

ezstudio-form-builder cant send e-mails after upgrade to ezplatform-ee 2.1

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.1.1
    • 2.1.0
    • Form Builder
    • None

    Description

      500er and no e-mail on form submit.

      Steps to reproduce:
      1. Create a form
      2. Set a e-mail receiver
      3. Fill the necessary fields
      4. Submit the form

      Expected:
      To get an form e-mail with the form information

      Actual:

      ex: Symfony\Component\Debug\Exception\UndefinedMethodException
      ex-file: /var/www/vendor/ezsystems/ezstudio-form-builder/lib/Core/SignalSlot/Slot/OnFormSubmitSlot.php
      ex-line: 79
      ex-message: Attempted to call an undefined method named "newInstance" of class "Swift_Message".
      server: nginx
      status: 500
      vary: Authorization
      :authority: example-domain.de
      :method: POST
      :path: /bundle/formbuilder/submit/3
      

      Used Versions(composer.lock):

      "ezsystems/ezplatform-ee": "v2.1.0",
      "ezsystems/ezstudio-form-builder": "~2.1.0",
      "symfony/swiftmailer-bundle": "^3.0",
      "swiftmailer/swiftmailer": "v6.0.2"
      

      Additional:
      Looks like they removed the newInstance() in >=6.0.0 like to read here:
      https://github.com/swiftmailer/swiftmailer/blob/master/CHANGES#L24

      Attachments

        Activity

          People

            Unassigned Unassigned
            m-wulf m-wulf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: