Publishing a page does not update sort order for pages sorted by StartPublish

Found in

EPiServer.CMS.Core 10.9.0

Created

Sep 07 2017

Updated

Nov 28 2017

Fixed in

EPiServer.CMS.Core 11.1.0

Area

CMS Core

State

Closed, Fixed and tested

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.

1

Description

Setting "Sort subpages" to "According to Start publish date (latest first)" won't correctly sort the most recent published pages to the top of the list of subpages.

Steps to reproduce

1. Create a new Alloy site.
2. Upgrade to Nuget package EpiServer.CMS 10.10.4.
3. Upgrade the database.
4. Start the site.
5. Change the sort order of subpages on About us / Contacts to "According to Start publish date (latest first)"
6. Create a new subpage under "Contacts".
7. Publish the page.

Expected
The new page should be the first subpage under "Contacts"

Actual
The new page is the last subpage in the list, as created, of "Contacts"

Remarks: This is due to the cache not expiring the list of cached children correctly, same issue when sorting by Changed or Created.

Comments