Try our conversational search powered by Generative AI!

After setting expiration on content in project, notification messages in wrong order

Found in

EPiServer.CMS.UI 11.14.0

Fixed in

EPiServer.CMS.UI 11.16.0

(Or a related package)

Created

Jan 03, 2019

Updated

Jan 28, 2019

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

Precondition:

  1. Create an Alloy site with CMS UI 11.14.0.
  2. Copy the AlloyModule.js file to the ~/ClientResouces/Scripts folder.
  3. Set AlloyModule.js as an initializer in module.config.
  4. Add this block of config to the module.config file, right before the </module> element.

    <clientModule initializer="alloy.AlloyModule">
        <moduleDependencies>
          <add dependency="CMS" type="RunAfter" />
        </moduleDependencies>
      </clientModule>
    

In the Alloy solution:

  1. Create a new project.
  2. Create a new page.
  3. Open the page -> Shows some messages in Notification bar, e.g.: "Part of project: test", "Top" & "Bottom".
  4. Set an expiration on the page.

Expected:
"This content has expired" message is shown in the middle of "Top" & "Bottom".

Actual:
"This content has expired" message is shown above "Top" message.

Observed: Notification messages are shown in the correct order after reloading the content version.