Content staging does not update coupon codes when related Rule's coupon setting is "Auto" (Magento_Reminder) #39588
Labels
Reported on 2.4.6-p8
Indicates original Magento version for the Issue report.
Preconditions and environment
Steps to reproduce
Expected result
The generated coupons should see their expiration_date field updated in the database, and no error logs should be generated.
Actual result
The coupons are not updated and an error pops up in var/log/debug.log : "An error occurred during processing; coupon with id expiration date wasn't updated. The error message was Specified rule does not allow auto generated coupons".
Additional information
I'm not sure why the Auto option for the coupon settings is added by the Magento_Reminder module. See \Magento\Reminder\Observer\GetCouponTypesObserver. Maybe this should be mentioned in the module's README.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: