Issue Bug Closed

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

Alexander Rotzsch 12/03/21, 15:39 updated 10/04/22, 14:13

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

Reviews 2