Aktionen
GX-Bug #69794
geschlossenOrder email is not being sent after deleting old attachments
Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Ahmed Hamouda
Kategorie:
E-Mail
Zielversion:
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.5.3.1
Release Notes Langtext:
Jetzt funktioniert die Bestell-E-Mail, nachdem die alten Anhänge gelöscht wurden
Beschreibung
When the old attachments are deleted for any reason, the order email does not work.
NOTE: Set the configurations below, just to make the testing process easier
Pre-conditions:
- Settings -> Legal -> Attach Conditions of Use as PDF to the order confirmation -> OFF
- Settings -> Legal -> Attach Privacy Conditions as PDF to the order confirmation -> OFF
- Settings -> Legal -> Attach Right of Withdrawal as PDF to the order confirmation -> ON
- Settings -> Legal -> Attach withdrawal form as PDF to the order confirmation -> OFF
Steps to reproduce:
- Place an order.
- Go to Admin > Customers > E-mails and check the status of the order email: it should be marked as sent.
- In the same page, at the bottom right, click on the button to delete the old attachments: Delete old Attachments
- In the
Removal Date
field, put today's date and click on the delete button. - Check the
/var/www/uploads/attachments/
folder, all the attachment files should have been deleted.
- Place another order.
- Go to Admin > Customers > E-mails and check the status of the order email: it should be marked as pending.
Actual:
The order email is not sent.
Expected:
The order email should be sent even if the file does not exist. A new file should be created, if the file does not exist.
Aktionen