Closed (outdated)
Project:
Drupal core
Version:
8.9.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Mar 2015 at 11:54 UTC
Updated:
1 Jul 2020 at 10:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nod_Problem is in
\Drupal\system\Controller\SystemController::setLinkActiveClass. Haven't digged into it yet.The JS version of active link doesn't present the issue.
Comment #2
dawehnerInteresting
\Drupal\Tests\system\Unit\Controller\SystemControllerTestthough seemed to have covered that case.Comment #3
lauriiiLooks like this has been introduced in #2403301: Menu item "active" class is not correctly added when using a view as the frontpage
Comment #4
lauriiiThis seems to fix it at least visually..
Comment #5
lauriiiComment #7
lauriiiComment #8
dawehnerI love it when our tests are maybe wrong :)
Comment #9
wuinfo - bill wu commentedIt is easier to separate front page and the rest of pages before we locate the active link, here is the patch fix the problem.
Comment #10
wuinfo - bill wu commentedComment #14
wturrell commentedCould we add steps to reproduce? i.e. what sort of link do I need to add to make this happen (menus look OK to me).
Comment #20
pameeela commented@lauriii do you think this is still an issue? If so can you provide steps to reproduce?
Comment #21
lauriiiI can't reproduce this anymore so closing this as outdated.
Comment #22
pameeela commentedThanks!