Virtual Happy Hour is canceled this month (March) due to Good Friday.
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.Commerce 9.0.0
EPiServer.Commerce 9.14.0
Apr 18, 2016
May 02, 2016
Core
Closed, Fixed and tested
The fix for COM-913 enforces uniqueness of a property's value per content by using a lock in the stored procedure. Ideally, this would be done by a unique constraint. To enable the unique constraint, any existing duplicate values must be removed. Currently, content with duplicate values won't load (MetaObjectDB uses Dictionary.Add for the values, so it blows up on duplicate values) and won't work anyway.
Duplicated rows can only happen when two updates run simultaneously, in which case it is random which value would be the effective one even with the constraint in place. So, just keep the last value and remove the others.