#44129isCurrent in other then default language
Description
In the default language is everything ok.
In the other languages no TMENU get the status “current”.
typo3\sysext\frontend\Classes\ContentObject\Menu\AbstractMenuContentObject.php
changing line 1482 from
if ($uid && !strcmp(end($this->rL_uidRegister), ('ITEM:' . $testUid))) {
to
if ($uid && $uid==$GLOBALS['TSFE']->id) {
fixes “my” problem.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 9
-
Jigal van Hemert commented 12/23/12, 14:50
-
Mathias Schreiber changed target version Is Regression 0 01/15/15, 10:48
-
Benni Mack changed target version 06/15/15, 17:44
-
Susanne Moog changed target version 08/05/15, 10:27
-
Benni Mack changed target version 09/24/15, 20:42
-
Mathias Schreiber changed target version 10/28/15, 13:38
-
Susanne Moog changed category 10/27/17, 13:06
-
Riccardo De Contardi commented and changed status
NewNeeds Feedback 09/01/19, 10:47Does this issue still exist on 9.5? I tried a short test with 9.5.10:
- clean 9.5.10 installation
- two languages: italian (default) and english (id=1)
- I created some pages (at least 2 levels) and translated them
- I added the following TypoScript code:
page = PAGE page.20 = HMENU page.20{ 1 = TMENU 1.expAll = 1 1.wrap = <ul>|</ul> 1.NO.wrapItemAndSub = <li>|</li> 1.CUR = 1 1.CUR.wrapItemAndSub = <li> <strong>current: - </strong>|</li> 1.ACT = 1 1.ACT.wrapItemAndSub = <li> <strong>active: - </strong>|</li> 2 < .1 3 < .1 }And it seems that the current and active states are set for the translated pages.
Is this test sufficient or should I perform a different test? Could you add a detailed step-by-step test procedure to reproduce this issue? Thank you!
-
Riccardo De Contardi commented and changed status
Needs FeedbackClosed 12/05/19, 10:40No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
The solution needs to be different, because it must support Mount Points.