Try our conversational search powered by Generative AI!

Simple address: Should return error when viewing the content in the missing language

Found in

EPiServer.CMS.Core 11.11.0

Fixed in

EPiServer.CMS.Core 11.15.1

(Or a related package)

Created

Jan 16, 2020

Updated

May 15, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

Note:

  • Try to run this case in some daily site:8.6.2, 9.9.1, 10.2.0, 10.10.6, 10.12.6, 11-12-1 (Core: 11.10.0.0) > get 404 error when view content by URL: Sitename/en/P1
  • I am not sure which is exactly version has the bug, I tried on daily site 11.19.0 (Core:11.11.0.0), 11.20.0 and latest site > see the bug
    step to reproduce:
  1. create new site which has setting: culture="en-US" uiCulture="en"
  2. Go to Site
  3. select site language = SV
  4. Create Page1 which has simple address = P1 and publish page
  5. Go to View mode
  6. View Page1 by URL: Sitename/P1 > return Page1 in SV language
  7. View Page1 by URL: Sitename/sv/P1 > return Page1 in SV language
  8. View Page1 by URL: Sitename/en/P1

Expected: should return 404 error

Actual: Return Page1 in SV language