You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have set up a custom PageType with some text fields in a site configuration with multiple languages. Displaying the values in the backend preview works perfectly fine for the default language. However, translating the page and inserting other values still renders the backend preview of the default language while the frontend as well as the rest of the backend display items in the correct language. This also produces an edit link to the wrong language using <be:link.editRecord>. Debugging the data.languageId field always shows 0 regardless of the pages language.
Configure a custom PageType including a field of type Text or Textarea
Add a backend-preview.html and display the field. Debugging the values is also sufficient: <f:debug>{data}</f:debug>
Add a page of that type in the backend and fill with values
Translate this page to another language and view the rendered backend preview
Expected behavior
The displayed values should show in the correct language and the link to edit the entries should lead to the edit page of the respective language.
Screenshots
Explanation: this is the default title field, so the value for "Title:" should be the same as the headline above in this picture.
TYPO3 Version
13.4.4
Content Blocks Version:
1.1.5 & 1.1.6
The text was updated successfully, but these errors were encountered:
Describe the bug
I have set up a custom
PageType
with some text fields in a site configuration with multiple languages. Displaying the values in the backend preview works perfectly fine for the default language. However, translating the page and inserting other values still renders the backend preview of the default language while the frontend as well as the rest of the backend display items in the correct language. This also produces an edit link to the wrong language using<be:link.editRecord>
. Debugging thedata.languageId
field always shows 0 regardless of the pages language.To Reproduce
Steps to reproduce the behavior:
/config/sites/[main]/config.yaml
(https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/AddLanguages.html)PageType
including a field of typeText
orTextarea
backend-preview.html
and display the field. Debugging the values is also sufficient:<f:debug>{data}</f:debug>
Expected behavior
The displayed values should show in the correct language and the link to edit the entries should lead to the edit page of the respective language.
Screenshots
Explanation: this is the default
title
field, so the value for "Title:" should be the same as the headline above in this picture.TYPO3 Version
13.4.4
Content Blocks Version:
1.1.5 & 1.1.6
The text was updated successfully, but these errors were encountered: