Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Cart line item meta field values not saved when using SerializedCarts

Found in

EPiServer.Commerce 10.3.0

Fixed in

EPiServer.Commerce 10.7.2

(Or a related package)

Created

May 23, 2017

Updated

Jun 19, 2017

Area

Core

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. Add a new meta field to an order system meta class.
  2. Edit an instance of the meta class in Commerce Manager.
  3. Enter a value for your field and save the change.
  4. Edit the same instance again.

Expected: The value saved in step 3 should be shown.
Actual: The default value is shown.
Note after resolved: The fix is work for only primitive data types. Since serialized data is save as string in json format in database so we cannot resolve issue for complex types like: File, ImageFile, DictionarySingleValue, EnumSingleValue, DictionaryMultiValue, EnumMultiValue, StringDictionary.