Description
Content-Elements inside b13-containers are not shown in other languages if the language is set to "all languages".
How to reproduce
Could reproduce it in a fresh TYPO3 v11.5.35 installation with only the b13/container (2.3.5) and the b13/container-example (2.0.0) installed.
Add another language
Create a container, add Content-Element
Set both to language "All languages"
Solution approach
Not sure if I'm on the correct path here, but I've noticed that the container/Classes/Domain/Factory/PageView/Frontend/ContainerFactory.php:95 is only checking if the language is > 0. Checking if the record-language is -1 would fix this. Testing this seemed to not break anything, but I'm not 100% sure tbh.
Description Content-Elements inside b13-containers are not shown in other languages if the language is set to "all languages".
How to reproduce Could reproduce it in a fresh TYPO3 v11.5.35 installation with only the b13/container (2.3.5) and the b13/container-example (2.0.0) installed.
Solution approach
Not sure if I'm on the correct path here, but I've noticed that the container/Classes/Domain/Factory/PageView/Frontend/ContainerFactory.php:95 is only checking if the language is > 0. Checking if the record-language is -1 would fix this. Testing this seemed to not break anything, but I'm not 100% sure tbh.
This would be the diff: