Try our conversational search powered by Generative AI!

LinkItemCollection loose link when editing


Version 11.9.4

I can create a link and it's saved and displayed fine. When I'm in edit mode and trying to edit the link it's gone. If I cancel it's still there. 

Anyone came across this?


    [ContentType(GUID = "4204eac8-d216-493d-a0de-a51230e1e5c7")]
    [ThumbnailIcon(FontAwesome.ListUl, Global.ContentTypeColors.Inverted, 
    public class LinksBlock : SiteBlockData, IRightColumnBlock
            GroupName = SystemTabNames.Content,
            Order = 10)]
        public virtual string Title { get; set; }

           GroupName = SystemTabNames.Content,
           Order = 20)]
        public virtual LinkItemCollection Links { get; set; }


@model LinksBlock

@if (!string.IsNullOrWhiteSpace(Model.Title) || PageEditing.PageIsInEditMode) {
    <div class="linkCollection-header" @Html.EditAttributes(m => m.Title)>@Model.Title</div>
@if (Model.Links != null || PageEditing.PageIsInEditMode) {
    @Html.PropertyFor(m => m.Links, "LinkCollectionList")

Edited, Jan 15, 2020 12:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.