Cron event does not get cleared when date is deleted
-
Hello!
On saving a product, there is logic to clear any existing one-time event and re-schedule it with the new date, but if the new expiry date is just an empty string (i.e., no more expiry, it’s been removed), then the old event is not cleared: Markup 2023-08-03 at 13.45.21.png – Droplr
Steps to reproduce:
- Create a new product
- Set the expiration date to tomorrow & save the product
- Remove the expiration date, i.e. leave the setting field empty, & save the product
Expected: the one-time cron event is removed.
Actual: the one-time cron event will run tomorrow.
—-
Current workaround: for now, it works to set the
Action
field toNone
, but if somebody forgets to do that, then the action will take place on the date that was previously set.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cron event does not get cleared when date is deleted’ is closed to new replies.