benjaminkott / benjaminkott/bootstrap_package
Dynamic Content contentFromPid only in default language
- Dominant language
- PHP
- Stars
- 355
- Forks
- 212
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 31
Description
# Bug Report
## Prerequisites
* [x] Can you reproduce the problem on TYPO3 v11.5 LTS
* [x] Can you reproduce the problem on TYPO3 v12.4 LTS
* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package)
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Dynamic Content frontend handling of the `content_from_pid` field and how translated pages are read. Reproduce the listed default-language and translated-page setup, then verify that the translated value determines the displayed source page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100