Try our conversational search powered by Generative AI!

LineItemID resetting on IIS-reset

Found in

EPiServer.Commerce 10.2.3

Fixed in

EPiServer.Commerce 10.7.1

(Or a related package)

Created

May 08, 2017

Updated

Aug 04, 2017

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Add an item to a cart. The LineItemID is -1.
  2. Add a second item. The LineItemID is -2.
  3. Reset the site, for example, by restarting/resetting IIS.
  4. Add a third item to the cart.
  5. The new LineItemID is -1.

For more information, see https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/5/litemitemid-resetting-on-iis-reset/
Note that: This happens in SerializableCart mode.