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

Created

Dec 17, 2020

Updated

Feb 23, 2021

Area

CMS Core

State

Closed, Fixed and tested


Description

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.