#24549Language mode is broken as soon as a backend layout is selected for the current page
Description
The language mode of the page module which shows a single language or each of the languages side by side without any additional layout is broken as soon as you select a backend layout for a page.
It doesn’t matter if you select it on the page itself or it is inherited from a parent page.
This is due to the fact that the language columns only get filled when the Grid View is not triggered in line 549 of class.tx_cms_layout.php
Solution: Check if there is a record available AND the language mode is not set
Attached patch will do that.
(issue imported from #M17006)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.