Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Edit mode shows wrong language on site restart and pages in "top menu" disappears

Found in

EPiServer.CMS.Core 7.8.0

Created

Mar 04, 2015

Updated

Apr 09, 2015

Area

Falcon/CMS/Core

State

Closed, Fixed and Tested


Steps to reproduce

  1. On an Alloy site with Swedish and English enabled.
  2. Go to Swedish branch and create a new page
  3. Go to English branch and translate the newly created page to English and publish it.
  4. Select another page so that the new one is not loaded immediately when doing the last step.
  5. Trigger site restart.
  6. Refresh the edit mode.


    Expected: It should show the English page

    Actual: Initially shows the Swedish page but when clicking on the page it becomes correct

More details: The bug is in IContentLoader.GetItems/GetChildren when you load a non-master language for the first time depending on the order of the results from the database you might get the master language instead of the translated language. When the cache is populated the problem goes away, that is why you normally just see the problem the first time content loads after a restart.