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
It seems like this bug has now been fixed, has it fixed your issue or are you still seeing the same error?
Hello. I'm still affected by a bug that is listed as fixed, while using EPiServer.CMS.UI 12.19.0. I want to use an
IList<EventDateBlock>
property on my page.EventDateBlock
is defined as such:[ContentType(AvailableInEditMode = false, GUID = "F6D64C68-DE4A-422B-99CD-65B92AED8C32")] public class EventDateBlock : BlockData { public virtual DateTime Date { get; set; } public virtual string StartTime { get; set; } public virtual string EndTime { get; set; } }
When publishing a new version of the page, a new draft is immediately created. This only applies to the "All Properties" view, "On-Page Editing" works as expected. I believe this bug needs to be revisited.
// EDIT
It seems to only happen if either
StartTime
orEndTime
is not set. If I make sure every property in everyEventDateBlock
has a value, it works as expected and no new draft is created.