Try our conversational search powered by Generative AI!

Incorrect usage of language fallback

Fixed in

EPiServer.CMS.Core 10.8.0

(Or a related package)

Created

Apr 03, 2017

Updated

Jun 12, 2017

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce:
1. In code, try to start a content approval on content that does not have an approval definition with this code:

contentRepository.Save(newblock as IContent, SaveAction.RequestApproval | SaveAction.Default, AccessLevel.NoAccess);

Expected: Exception with text
Actual: Exception with "missing text": "[Missing text '/validation/approval/definitionrequired' for 'Swedish']"