November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
using System.ComponentModel.DataAnnotations;
using Customer.Templates.Customer.Classes;
using EPiServer;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using EPiServer.Web;
using EPiServer.Core;
namespace Customer.Templates.Customer.PageType
{
public abstract class BasePageData : PageData
{
[Display(
GroupName = Global.GroupNames.MetaData,
Order = 100)]
[CultureSpecific]
public virtual string MetaTitle
{
get; set; }
[Display(
GroupName = Global.GroupNames.MetaData,
Order = 200)]
[CultureSpecific]
[BackingType(typeof(PropertyStringList))]
public virtual string[] MetaKeywords { get; set; }
[Display(
GroupName = Global.GroupNames.MetaData,
Order = 300)]
[CultureSpecific]
[UIHint(UIHint.Textarea)]
public virtual string MetaDescription { get; set; }
[Display(
GroupName = Global.GroupNames.MetaData,
Order = 400)]
[CultureSpecific]
public virtual bool DisableIndexing { get; set; }
[Display(
GroupName = SystemTabNames.Content,
Order = 100)]
[UIHint(UIHint.Image)]
public virtual Url PageImage { get; set; }
[Display(
GroupName = SystemTabNames.Content,
Order = 200)]
[CultureSpecific]
[UIHint(UIHint.Textarea)]
public virtual string TeaserText { get;set;}
[Display(
GroupName = SystemTabNames.Settings,
Order = 200)]
[CultureSpecific]
public virtual bool HideSiteHeader { get; set; }
[Display(
GroupName = SystemTabNames.Settings,
Order = 300)]
[CultureSpecific]
public virtual bool HideSiteFooter { get; set; }
}
}
I tried to remove all the properties, but didnt help, it doesnt seem like it is the basepagedata, because on the frontpage it is the startpage that has the same problem. Everywhere I use Currentpage failes.
I got this error on my upgraded Episerver 7 project.
All uses of currentpage failes, anybody else seen this error?