WebForms: "404 NotFound" when viewing content on missing language via shortcut link

Found in

EPiServer.CMS.Core 9.0.0

Fixed in

EPiServer.CMS.Core 9.9.0

Created

Apr 26, 2016

Updated

May 10, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Step to reproduce:

  1. Enable multiple languages (in this example, En and SV) for a site. En is the master language.
  2. On the Sites tab, select the SV language.
  3. Create DesPage in SV then publish.
  4. Open the Sites tab again.
  5. Select the EN language and create SourcePage
  6. View the SourcePage in all properties mode > select the Settings tab > Open manage link for shortcut: select shortcut type = to page in Episerver CMS and internal Shortcut = DesPage >> Publish page
  7. View the site in View mode in the En language > On the menu, click SourcePage.

Expected: It directs to http://site/sv/DesPage/ then loads the page.
Actual: It directs to http://site/en/DesPage/ then throws error: "404 NotFound"
Notes:

  • The bug only happens on a Webform template - No bug when using the Alloy MVC template (9.8.3).
  • If you run these steps on CMS 8, you get http://site/en/ - no name of DesPage.