Bug #36822
closedInvalid shortcut target on translated pages
100%
Description
Since I have updated my multi language site from 4.5.x to 4.7, menu items with page type shortcut are not linked anymore in alternative languages (there isn't a href attribute on the link tag). The shortcut links in the default language are working well.
It seems that the Shortcut target in the Alternative Page Language record does not fallback to default anymore.
I have to fillin all shortcut targets in Alternative Page Language records to get it fixed.
Is it a bug in 4.7 or are there some settings for it? Do I have to report it on forge.typo3.org (where)?
Updated by Oliver Hader about 12 years ago
- Status changed from New to Accepted
- Assignee set to Oliver Hader
- Target version set to 4.6.11
- TYPO3 Version changed from 4.7 to 4.6
Updated by Oliver Hader about 12 years ago
Requirements:
- different languages
- a shortcut page with a specified target page in default language
- localization of the shortcut page, but keeping the target blank there
- a page (as referenced as shortcut target) in default language
- localization of that page to test the results
Description:
A feature to resolve shortcut links directly in menu rendering does not consider the overlay behaviour of the "shortcut" value.
The mentioned feature has been introduced in TYPO3 4.6 - see #17037
TSFE first uses the "shortcut" value of the original/default page and then serves for possible translated alternatives (tslib_fe::checkTranslatedShortcut()).
In menu rendering it's the other way round, the translated overlay (if any) is used directly - the fallback to use the "shortcut" value of the original/default page is not implemented.
Since up to TYPO3 4.5, TSFE resolved those shortcuts, there has not been any problem.
Updated by Oliver Hader about 12 years ago
- Subject changed from Shortcut targets in Alternative Page Language doesnt fallback anymore to the default target in TYPO3 4.7 to Invalid shortcut target on translated pages
Updated by Gerrit Code Review about 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12763
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12764
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12765
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12764
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12763
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12765
Updated by T. Lau about 12 years ago
I applied the Patch set 2 onto my Typo3 installation, but it does not work if shortcut mode is "First subpage of selected/current page". It only works if a shortcut page was selected.
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12765
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12764
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12763
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/12765
Updated by Markus Klein over 10 years ago
- Target version changed from 4.6.11 to next-patchlevel
- Is Regression set to No
Updated by Gerrit Code Review over 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/12765
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27676
Updated by Oliver Hader over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset adac6161871cf4e09b492606e89059042d7c433b.
Updated by Mike Streibl over 10 years ago
This patch doesn´t work when I changed the pagetype from shortcut to standard in the translation.
Updated by Benni Mack almost 6 years ago
- Status changed from Resolved to Closed