Bug #83649
closedPage model localization
0%
Description
I have custom page type called Magazin
Vendor\DwPageTypes\Domain\Model\Magazine {
mapping {
tableName = pages
recordType = {$PAGE_TYPE_MAGAZIN}
columns {
magazine_date.mapOnProperty = date
magazine_intro_text.mapOnProperty = introText
magazine_categories.mapOnProperty = categories
magazine_digi_news_export.mapOnProperty = digiNewsExport
}
}
}
And magazin model and repository
class Magazine extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {...}
class MagazineRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {...}
Than I have FE plugin with magazine listing.
In default language all works fine. But when I create page localization (pages_language_overlay) Magazine model has not set `_languageUid` property.
And I need to list only Magazines which are translated, but all magazines are listed (including not translated).
I've also set
config.sys_language_mode = strict
but with no effect
Is it a bug or I am out of topic :)
Files
Updated by ondro no-lastname-given almost 7 years ago
- File screenshot-mayr-melnhof.test-2018-01-23-15-40-09.png screenshot-mayr-melnhof.test-2018-01-23-15-40-09.png added
Also check localized domain model
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
Thanks for creating the issue.
Translations of pages which are persisted in a different table has been disabled a while ago, also from TCA with the exception of pages. Since 9 also pages_language_overlay has been merged with pages - as any other page.
8.7 is soon EOL and in critical bugfix mode, therefore nothing will be happen anymore and I am closing this issue even though it is valid.
As a solution you need to handle this yourself (which I guess you did already anyway)