Fallback language is sometimes selected instead of language version when using simple address

Found in

EPiServer.CMS.Core 11.16.0

Fixed in

EPiServer.CMS.Core 11.20.5


Dec 17, 2020


Feb 23, 2021


CMS Core


Closed, Fixed and tested


Steps to reproduce:

  1. Enable multiple languages like this:
  2. Set root to enable all the languages and set the fallback language to "en" for every language except en.
  3. On page Alloy Plan, set simple address to "alloy".
  4. Create different language versions of Alloy plan and set simple address to "alloy" for all the different language versions.
  5. Go to the different language versions by using their simple address. So for German go to site.com/de/alloy or Swedish site.com/sv/alloy.

Expected result:

The different language versions of the page should be displayed.

Actual result:

Sometimes, the English version is displayed even if there is a language version available.