Try our conversational search powered by Generative AI!

SDK: StopPublish property returns null value but doc says DateTime.MaxValue

Found in

EPiServer.CMS.Core 10.4.3

Fixed in

EPiServer.CMS.Core 10.8.0

(Or a related package)

Created

Mar 13, 2017

Updated

Apr 21, 2017

Area

CMS Core

State

Closed, Fixed and tested


Description

When fetching children of a page, and filtering for published pages, the property PageDate.StopPublish should be set to System.DateTime.MaxValue, if not set (according to this documentation:[ http://world.episerver.com/documentation/class-library/?documentId=cms/10/81811134]). But that’s not the case when we fetch children (from contentloader) this are set to null for all normally published pages.

This property was made nullable in CMS 10, but documentation was not changed to reflect that.