Defect HC-5007
500-series errors on cart page due to altered promotion
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0116634 | V8.0.4.0 | 8.0.4.27 |
Observed behavior
If a promotion is applied to an order, the shopper might experience a 5xx error if the promotion is altered or disabled by the business user.
Expected behavior
Changes to the promotion by the business user in the staging environment that are subsequently published to the production site should cause a re-evaluation of the applicable promotions for the shopper, and not an error.
Resolution
The calculation code cache was not being properly cleared when the promotion was disabled or altered. An additional cache invalidation rule was added to ensure the evaluation of the disabled promotion is no longer attempted.