2
Vote

Default value is not set

description

Given the following property definition
    [PageTypeProperty(SortOrder = 17, 
        UniqueValuePerLanguage = false,
        Tab = typeof(ContentTab),
        Type = typeof(PropertyNumber),
        DefaultValue = 400,
        Required = true,
        DefaultValueType = DefaultValueType.Value)]
    public virtual int FrameHeight { get; set; }
 
Creates wrong settings for property. It has no default value

file attachments

comments

Croweman wrote Apr 19, 2012 at 2:49 PM

This issue relates to issue After upgrading to PTB 2.0, starting site takes a really long time. It's to do with duplicate sort orders and sort orders that haven't been set in the page type property definition in code.

It's not really a bug in PTB or EPiServer, it's just a change in CMS 6 R2 has unfortunately caused this knock on effect if sort orders are duplicated in page types or they haven't been set.

wrote Oct 18, 2012 at 1:37 PM

wrote Feb 14, 2013 at 8:04 PM