benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
334 stars 200 forks source link

Dynamic Content contentFromPid only in default language #1447

Open andreashager opened 7 months ago

andreashager commented 7 months ago

Bug Report

Prerequisites

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.