Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Nov 06, 2020
Feb 09, 2021
Core
Closed, Fixed and tested
Fix for making default values for Commerce content work for selected languages.
Steps to reproduce:
public class TestContent : NodeContent { [CultureSpecific] public virtual string Text {get;set;} public override voide SetDefaultValues(ContentType contentType) { Text = "Some text"; base.SetDefaultValues(contentType); } }
3. Create TestContent in catalog.
Expected:
Should set default value for all language versions (en, sv).
Actual:
Only sets it for the selected language (en) when creating the content (not for sv).