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

Found in

EPiServer.CMS.Core 10.4.3

Created

Mar 13 2017

Updated

Mar 17 2017

Area

CMS Core

State

Backlog

Voting

Affected? You can raise the priority of a bug by voting for it. By doing so, you will be helping our developers to choose which bug to fix next.

Voting is disabled for closed bugs.

0

Description

When fetching children of a page, and filter for published pages. The property PageDate.StopPublish according to the documentation 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 is set to null for all normally published pages.

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

Comments