Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Required block type property reverts to empty

Vote:
 

Hi!

All of a sudden a certain block type property has started behaving in a strange way.

The property looks like this:

[CultureSpecific(true)]
[Required()]
[Display(Name = "Link to page",
         Description = "Link to page",
         GroupName = SystemTabNames.Content,
         Order = 700)]
public virtual Url URL { get; set; }

I edit the block, populate the property with a value and publish the block. However, when I edit the block once again the value has reverted to an empty state and a validation message (The Link to page field is required) appears. If I set a value and then edit the block again, it's the same behavior.

Can anyone shed some light on why this is happening? We're running EPiServer 7.1.

#148620
May 18, 2016 16:11
Vote:
 

Has no one experienced this problem?

#149484
Jun 01, 2016 15:17
* 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.