Setono / SyliusMailchimpPlugin

Mailchimp integration plugin for Sylius
MIT License
11 stars 14 forks source link

email is not found when completing all steps then going back to the first one which is address step #51

Closed htaoufikallah closed 3 years ago

htaoufikallah commented 4 years ago

Step to reproduce this bug:

  1. follow all checkout steps with required data
  2. at the before confirming go back to the first step that address step

Here is the error that I got : Neither the property "email" nor one of the methods "email()", "getemail()"/"isemail()"/"hasemail()" or "__call()" exist and have public access in class "Symfony\Component\Form\FormView".

I dumped the form and I found out that the email field is missing unlike new checkout. I found the responsible code of this bug it is line 49 in CustomerCheckoutGuestTypeExtension and I confirm that I used an existing customer that has an id

PS: I'm using bootstrap official theme