Virtual Happy Hour is canceled this month (March) due to Good Friday.
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.CMS.Core 9.2.0
EPiServer.CMS.Core 9.3.2
Oct 27, 2015
Dec 17, 2015
CMS Core
Closed, Fixed and tested
If a content type has the same available content types listed in Include/IncludeOn settings as it has in Exclude/ExcludeOn settings, only the Exclude settings are applied.
Steps to reproduce
The simplified example below results in all content types but OnePage is available:
[AvailableContentTypes(Include = new[]
)]
public class OnePage : PageData
The same thing applies across multiple content types. In both cases below, all but the SecondPage are available.
[AvailableContentTypes(Exclude = new[]
)]
public class FirstPage : PageData
[AvailableContentTypes(Include = new[] { typeof(FirstPage)
IncludeOn = new[]
)]
public class SecondPage : PageData
Issue also described at http://world.episerver.com/blogs/Henrik-Fransas/Dates/2015/10/the-known-and-unknown-of-include-includeon-exclude-and-excludeon/