Skip to content

Dynamic Content contentFromPid only in default language #1447

@andreashager

Description

@andreashager

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 v11.5 LTS
  • Can you reproduce the problem on TYPO3 v12.4 LTS
  • Did you perform a cursory search
    to see if your bug or enhancement is already reported?

Description

Since TYPO3 9 the field "Show content from page" can be different for each translation. The database field content_from_pid is only fetched in the default language. So if your translated page has a content_from_pid set but the default language not its not recognized.

Steps to Reproduce

  1. Create a page in default language.
  2. Translate this page to a different language.
  3. Set database field content_from_pid (Show content from page) for the translated page to a different page.
  4. Show translated page in frontend
  5. The content from the different page is not shown.

Expected behavior

The translated page should show the content from the specified page under the field "content_from_pid".

Actual behavior

Dynamic Content reads out "content_from_pid" from default language and nothing is shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions