Project

General

Profile

Actions

Bug #96226

closed

Epic #58282: Workspaces Workpackage #2

Story #58284: Bug fixes & Behaviour

Duplicate menu entries in workspace when using TMENU and special = directory

Added by Alexander Rotzsch over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2021-12-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

we have problems with duplicate menu entries in the frontend.

Preconditions:

- Workspace activated
- Output via TMENU special = directory (probably also with other menu/special types)

Table "page" then looks like this:

title, uid, pid, t3ver_wsid, t3ver_oid
Pagetitle Live, 126, 122, 0, 0
Pagetitle WS-, 1862, 122, 1, 126

The latter is created when changing a setting in the page (in workspace!). You'll see this in the workspace module at the top. Now when debugging the menu there are two menu items with the following specs:

title, uid, pid, t3ver_wsid, t3ver_oid
Pagetitle Live, 126, 122, 1, 126
Pagetitle WS-, 1862, 122, 1, 126

But only one should be provided by the menu processor. Seems like the workspace overlay does not work properly.

Reproducing steps:

- Make sure the preconditions above are given
- Go to workspace
- Go to that is generated by the special menu processor and change any page setting like "layout"
- Show page in frontend -> see duplicate menu entries

To fix it I bypassed it with some typoscript conditions, but of course workarounds are bad and a core fix is needed here.

If I can help any further, let me know.

Cheers

Alex

TYPO3 10.4.21

Actions

Also available in: Atom PDF