Project

General

Profile

Actions

Bug #93079

closed

Site appearing twice in HMENU Navigation in Workspace Preview

Added by Anatoli Zich over 3 years ago. Updated 4 months ago.

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

0%

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

Description

Since switching to TYPO v10 we got a strange behaviour with our navigation in workspace preview mode. For better understanding i attached a simple version of the HMENU we use which produces the error.

These steps produce the error (assuming you use the attached menu):
1. Have a workspace and switch to it in the backend
2. Switch to the frontend preview of a page which appears in your navigation
3. Notice that the navigation looks like expected
4. Open the page properties of that page in the backend
5. Save without editing anything
6. Switch to the frontend preview of that page again
7. Notice that the page now appears twice in the navigation

Selecting any of the doubled navigation items in the frontend workspace preview renders the page without any content elements even if they exist. Reopening the preview of the page displays it as expected but the navigation is still in the wrong state.

Reverting the page version that step 5 produced fixes the problem and it's not relevant if you actually change something in the page properties. Releasing the page changes in the workspace module works as expected and does not break anything in live mode so i think this to is a preview only bug.

I tested if the introduction package behaves the same but the included navigation does not rely on HMENU and works without problems. Inserting my menu however produces the explained behaviour which i tested to rule out any faulty settings in my environment. Also this can't be reproduced with TYPO3 v8.

I'm on TYPO3 10.4.10


Files

menu.typoscript (540 Bytes) menu.typoscript Anatoli Zich, 2020-12-15 11:46

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102660: Site appearing twice in HMENU Navigation in Workspace PreviewClosed2023-12-12

Actions
Actions #1

Updated by Zenoussi no-lastname-given over 3 years ago

We also created the problem of duplicate pages in the menu under v10.4.12 with DataProcessor in workspace preview.

Difference to Anatoli:
  • the content elements of the page are shown in the workspace preview
Difference to Anatoli Introduction-Package-Test:
  • the problem also existed in my test of the Introduction Package under v10.4.6, an update to v10.4.12 fixes the problem there.

Deactivation, deinstallation of workspaces, compare and reinstallation does not change anything, afterwards even the "old" edited data records were displayed again – didn't expect that.

Actions #2

Updated by Andreas Kiessling almost 3 years ago

I can confirm this bug.

As for the double menu entries: i tracked this down to https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L5820

The hint is a good one, adding the frontend restriction seems to work

$queryBuilder->getRestrictions()->add(GeneralUtility::makeInstance(FrontendRestrictionContainer::class));

Actions #3

Updated by Benni Mack over 2 years ago

  • Status changed from New to Needs Feedback

Can you confirm this behaviour is still in 10.4.22 or v11 ?

Actions #4

Updated by Elias Häußler over 2 years ago

Benni Mack wrote in #note-3:

Can you confirm this behaviour is still in 10.4.22 or v11 ?

We have the same issue and I can confirm that it's still present in 10.4.22.

Actions #5

Updated by Tobias Pinnekamp almost 2 years ago

Elias Häußler wrote in #note-4:

Benni Mack wrote in #note-3:

Can you confirm this behaviour is still in 10.4.22 or v11 ?

We have the same issue and I can confirm that it's still present in 10.4.22.

We have a similar issue with a TS Menu in 10.4.30 where new pages in workspace appear twice. But only the second item of those pages has all the correct data grabbed by nested DataProcessors.

Actions #6

Updated by Riccardo De Contardi over 1 year ago

I can confirm this issue on TYPO3 10.4.31, but not on 11.5.13

Actions #7

Updated by Riccardo De Contardi about 1 year ago

  • Status changed from Needs Feedback to Closed

No feedback since more than 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 this issue, please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions #8

Updated by Jan Kornblum 4 months ago

  • Related to Bug #102660: Site appearing twice in HMENU Navigation in Workspace Preview added
Actions #9

Updated by Jan Kornblum 4 months ago

Still existing in 10.4.37, opened a new issue https://forge.typo3.org/issues/102660

Actions

Also available in: Atom PDF