November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Mar 14, 2018
Apr 03, 2018
CMS UI
Closed, Fixed and tested
Steps to reproduce
1. Create a block that has a list of strings and some other property.
[ContentType(DisplayName = "PropertyListBlock", GUID = "5474ff5f-da3a-4411-ad5f-0630a2d0b9e7", Description = "")] public class PropertyListBlock : BlockData { [CultureSpecific] [Display( Name = "Name", Description = "Name field's description", GroupName = SystemTabNames.Content, Order = 1)] public virtual string Name { get; set; } [CultureSpecific] [Display( Name = "Property Value List", Description = "Property Value List", GroupName = SystemTabNames.Content, Order = 10)] public virtual IList<string> ListOfStrings { get; set; } }
2. Add the block to e.g., the StandardPage in Alloy.
... public virtual PropertyListBlock PropertyListTest { get; set; } ...
3. Render the property in the template.
... @Html.PropertyFor(x=>x.CurrentPage.PropertyListTest) ...
4. Create a new page.
5. Add some values to the PropertyValueList in OPE.
6. Go to All Properties mode and look at the values.
7. Go back to OPE.
8. Open the PropertyValueList editor again.
Expected:
The values added in step 4 should be there
Actual:
The list is empty