Bug #87160
closedCreating site config breaks language processing in news and vhs extensions
100%
Description
Typo3 9.5.3
Recent versions of tx_news and vhs.
Simple test site with few pages and a basic setup of news (storage folder, list, detail page separate).
One page set up with Hide default translation of page (to be visible only in the other language).
Few news articles - some of them written in default and translated, some of them written in non-default language (so they do not have a parent in default language).
Language settings in typoscript:
config {
linkVars = L(0-1)
sys_language_uid = 0
language = pl
locale_all = pl_PL.UTF-8
htmlTag_langKey = pl
sys_language_mode = content_fallback
sys_language_overlay = 0
}
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = en
locale_all = en_US.UTF-8
htmlTag_langKey = en-US
}
[END]
I have tested this setup in 8.7.21 and in 9.5.1-9.5.3 and ut works as I want. I can see a working link in vhs generated menu (v:menu.directory) to the english only page, and when I enter news list I can see both news items translated from default and those written in english (without default translation). Setting sys_language_overlay = 1 hides those news elements but the vhs menu is still working fine.
But if I generate a site config - no matter the fallback mode - strict, fallback, fallback;0,1 here's what is happening:
- I can only see news items with default translation. items without default language do not exist.
- v:menu.directory menu has a title but no link to the english only page (object passed as menu has linkTitle but no link value)
I have tried every setting I could think of and it stays this way.