• Resolved ahegyes

    (@ahegyes)


    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:

    1. Create a new product
    2. Set the expiration date to tomorrow & save the product
    3. 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 to None, 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.