[BUGFIX] Do not force content_fallback to default page language
If a page translation is not available, the TypoScript option `config.sys_language_mode` has the option `content_fallback;listofuids` to define to which other language translations should be fallen back. However, if NONE of the defined page translations are available, a fallback to the DEFAULT language is made (because the foreach just does not apply) which can not be stopped at all. To define an explicit 404 when a translated page NOR its fallbacks are available the special keyword "pageNotFound" is added, which can be added to `config.sys_language_mode = content_fallback;3,2,pageNotFound` and if none of 3,2 are available, a page not found message is thrown. Resolves: #82794 Releases: master, 8.7 Change-Id: I90af4e9f9685ffc7db8c562207e3df08786c0ca9 Reviewed-on: https://review.typo3.org/54426 Tested-by:TYPO3com <no-reply@typo3.com> Tested-by:
Sascha Rademacher <sascha.rademacher+typo3@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org>
parent
f0d731dd
Please register or sign in to comment