Actions
Bug #83649
closedPage model localization
Start date:
2018-01-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
localization,model,page type,
Complexity:
Is Regression:
Sprint Focus:
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
Actions