Project

General

Profile

Actions

Bug #83649

closed

Page model localization

Added by ondro no-lastname-given almost 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Category:
Extbase + l10n
Target version:
-
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 #2

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)

Actions

Also available in: Atom PDF