Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.Commerce 11.0.0
EPiServer.Commerce 11.2.4
Sep 11, 2017
Sep 22, 2017
Core
Closed, Fixed and tested
Steps to reproduce
1. Create two CatalogKeys "abc123" and "ABC123".
2. Create a Dictionary<CatalogKey, object>();
3. Set dictionary[a] = new object();
4. Call dictionary.ContainsKey(b);
Expected: CatalogEntryCode is case-insensitive, so CatalogKey.GetHashCode() should convert it to upper or lower case first.
Actual: CatalogKey.GetHashCode() is case sensitive, so using it to do comparisons like dictionary lookup causes a result of "False" to be returned.