#19925IFSUB and friends are ignoring the l18n_cfg field of the page record
Description
The l18n_cfg field is used to disable the default language record or any alternative language records which haven’t a page translation. At the first glance it seems to work like expected, because the expected page records are not visible in the menu. If we have a closer look at this part, we will find out that it’s badly ignored for the record states IFSUB and friends. This causes that a page record which has no visible sub pages is marked with the IFSUB state.
How to reproduce?
1) Create the following page structure:
- first parent page
– first sub page
- second parent page
– first sub page
2) Add a translation for each of the parent records
3) Set the l18n_cfg field to each of the sub pages (it’s not really important which setting or combintation)
4) Create a menu with IFSUB states applied
5) Test the result in the frontend
(issue imported from #M10285)
Reviews 6
- TYPO3_4-4 5266[BUGFIX] *IFSUB ignores l18n_cfg field
- TYPO3_4-5 5265[BUGFIX] *IFSUB ignores l18n_cfg field
- TYPO3_4-6 8938[BUGFIX] *IFSUB ignores l18n_cfg field
- TYPO3_4-5 8939[BUGFIX] *IFSUB ignores l18n_cfg field
- main 5573[BUGFIX] *IFSUB ignores l18n_cfg field
- TYPO3_4-4 8940[BUGFIX] *IFSUB ignores l18n_cfg field