Try our conversational search powered by Generative AI!

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

Found in

EPiServer.CMS.Core 10.9.0

Fixed in

EPiServer.CMS.Core 11.1.0

(Or a related package)

Created

Sep 07, 2017

Updated

Jun 27, 2018

Area

CMS Core

State

Closed, Fixed and tested


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.