Project

General

Profile

Actions

Bug #106210

open

Shortcuts in menus are not ACT anymore

Added by Oliver Eglseder 24 days ago. Updated 13 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2025-02-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.0
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The change https://review.typo3.org/c/Packages/TYPO3.CMS/+/79749 (which fixes a logical problem reported in #99838) introduced a new problem, that the test in \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isActive does not work correctly anymore, since it's based on the assumption, that to logic error did exist.

The condition in \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isActive needs to be adapted to reflect the change in \TYPO3\CMS\Core\Domain\Repository\PageRepository::resolveShortcutPage

I have a patch available which i will submit to git asap. The patch file which fixes this is attached.

P.S.: Also related: #97186


Files

typo3-HMENU-fix-shortcut-ACT.patch (1.47 KB) typo3-HMENU-fix-shortcut-ACT.patch Oliver Eglseder, 2025-03-03 09:34

Related issues 4 (2 open2 closed)

Related to TYPO3 Core - Bug #99838: _SHORTCUT_ORIGINAL_PAGE_UID set to wrong valueClosed2023-02-06

Actions
Related to TYPO3 Core - Bug #97186: Menuprocessor shortcut active subpage wrong link stateNew2022-03-15

Actions
Related to TYPO3 Core - Bug #97037: Shortcut in menu to root page is always active Needs Feedback2022-02-25

Actions
Related to TYPO3 Core - Bug #102344: Shortcuts in menu are not active / current anymore in TYPO3 12Closed2023-11-07

Actions
Actions #1

Updated by Benni Mack 24 days ago

  • Related to Bug #99838: _SHORTCUT_ORIGINAL_PAGE_UID set to wrong value added
Actions #2

Updated by Gerrit Code Review 24 days ago

  • Status changed from New to Under Review

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88279

Actions #3

Updated by Benni Mack 24 days ago

  • Related to Bug #97186: Menuprocessor shortcut active subpage wrong link state added
Actions #4

Updated by Benni Mack 24 days ago

  • Related to Bug #97037: Shortcut in menu to root page is always active added
Actions #5

Updated by Benni Mack 24 days ago

  • Related to Bug #102344: Shortcuts in menu are not active / current anymore in TYPO3 12 added
Actions #6

Updated by Oliver Eglseder 13 days ago

Updated patch file

Actions

Also available in: Atom PDF