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

Exception is thrown when Form contain File field and confirmation e-mail is sent

    XMLWordPrintable

Details

    Description

      This bug is reproducible only in dev environment.

      Steps to reproduce:

      1. Create Landing Page
      2. Add Form Block
        1. Add Text Line field
        2. Add File field
        3. Add notification e-mail address
      3. Publish Landing Page
      4. Go to the front-end and fill the form
      5. Submit form

      Nothing will happen, but in the Developer Tools you can see 500 error and response:

      {"valid":false,"invalidFields":[]}
      

      This bug appears only in dev environment, because Exception comes from Twig template:
      https://github.com/ezsystems/ezstudio-form-builder/blob/master/bundle/Resources/views/email/send_email.html.twig#L19

      There is a Array to string conversion... warning.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: