Possible to add lineitem to cart with quantity = 0
Found in
EPiServer.Commerce 11.2.3
Fixed in
EPiServer.Commerce 11.2.6
Created
Sep 21, 2017
Updated
Oct 06, 2017
Area
Core
State
Closed, Fixed and tested
Description
Steps to reproduce
- Enable SerializableCart mode.
- Have one SKU with MaxQuantity = 0.
- In Commerce Manager, add that SKU to the cart.
- Notice the warning saying that the quantity is changed when saving the cart.
- Reopen the cart.
- DivisionByZero exception is thrown.