Projekt

Allgemein

Profil

Aktionen

GX-Bug #69794

geschlossen

Order email is not being sent after deleting old attachments

Von Alexandre Ataides vor fast 2 Jahren hinzugefügt. Vor fast 2 Jahren aktualisiert.

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:

  1. Place an order.
  2. Go to Admin > Customers > E-mails and check the status of the order email: it should be marked as sent.
    1. In the same page, at the bottom right, click on the button to delete the old attachments: Delete old Attachments
    2. In the Removal Date field, put today's date and click on the delete button.
    3. Check the /var/www/uploads/attachments/ folder, all the attachment files should have been deleted.
  3. Place another order.
  4. 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

Auch abrufbar als: Atom PDF