Bug #56351
closed
view page in another language than default language from Backend is incorrect
Added by zebulon no-lastname-given over 10 years ago.
Updated almost 5 years ago.
Category:
Backend User Interface
Sprint Focus:
On Location Sprint
Description
When I try to view a content translated in another language than default language from Backend in list module I see only content in default language.
steps to reproduce in module list:
create a content in default language
add a translation of this content
on the content translated, do a right click then select "Show"
you will see only the content in default language
I have tried on 2 differents websites and problem is the same.
Tested on Typo3 version 4.5.32
If this still exists on 6.2 we need to ensure the link appends the target L parameter correctly.
still present in 6.2.14 and 7 (latest master)
Still affects 8.7-dev (latest master); it works correctly on Info > localization overview.
This problem is only present in the Click Menu of a content element.
On 7.6 the problem is that \TYPO3\CMS\Backend\ClickMenu\ClickMenu::printDBClickMenu()
does not pass a language information to \TYPO3\CMS\Backend\ClickMenu\ClickMenu::DB_view()
(which does not even have a parameter for this purpose).
The code in master has been fully rewritten, so this needs an extra check.
Still present on latest 9.0.0-dev (master); also affects the "View webpage" button in the page toolbar
- Sprint Focus set to On Location Sprint
I can confirm this issue on the current master (9.5.1-dev).
- Status changed from New to Needs Feedback
I cannot reproduce the issue on 9.5 - can you add new steps to reproduce?
I tested the following:
- Web > Page - Translated Content > Show in ClickMenu
- Web > List - Translated Page > Show via Icon
- Web > List - Translated Page > Show via ClickMenu
- Web > List - Translated Content > Show via Icon
- Web > List - Translated Content > Show via ClickMenu
With site configuration all tests use the correct language prefix (in my case /de/).
Without site configuration all tests add the L param (in my case L=4).
@Susanne Moog I tried with both 8.7.24 and 9.5.4; everything works fine Except:
- TYPO3 9.5.4
- List view > table "page translation" > right click on the icon of the translated page > show
Result:
Whoops, looks like something went wrong.
(1/1) #1518472189 TYPO3\CMS\Core\Error\Http\PageNotFoundException
The requested page does not exist
the problem is that the page that TYPO3 is trying to access is https://typo3.9.test.it:8890/eng-test
(wrong) instead of the correct https://typo3.9.test.it:8890/en/eng-test
it misses the /en/ part of the URL.
Can someone confirm? Should I open a new issue for that? Thank you
Riccardo De Contardi wrote:
- TYPO3 9.5.4
- List view > table "page translation" > right click on the icon of the translated page > show
the problem is that the page that TYPO3 is trying to access is https://typo3.9.test.it:8890/eng-test
(wrong) instead of the correct https://typo3.9.test.it:8890/en/eng-test
it misses the /en/ part of the URL.
Yes, I can confirm that. All the other "view" buttons I could find are calling the URL with the correct language prefix, but this right-click menu omits it.
- Related to Bug #81386: Preview language setting not always set added
- Status changed from Needs Feedback to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Related to Bug #89531: Regression: "Show" in context menu for pages always shows root page on databases not casting return types added
- Status changed from Resolved to Closed
- Related to Bug #90124: PageProvider catches nonexisting Exception added
- Related to Bug #91087: Non-existing UnableToLinkToPageException in RecordProvider added
Also available in: Atom
PDF