Project

General

Profile

Actions

Bug #104215

closed

MenuProcessor: Empty link-attributes for items

Added by Stefan Neufeind 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-06-26
Due date:
% Done:

0%

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

Description

On a TYPO3-installation (current 12.4.16) we had the menuitems shown correctly but the link-attribute of items was empty. This showed up on the root-page only. Moving to a sub-page all menuitems correctly had their link.

Similar situation described for TYPO3 v11.5.29 (in German):
https://www.typo3forum.net/discussion/85697/leere-href-in-der-navigation-mit-dataprocessing


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #104344: Sometimes TYPO3 renders all links of a page with empty href attributeUnder Review2024-07-10

Actions
Actions #1

Updated by Stefan Neufeind 5 months ago

  • Category changed from Fluid to Site Handling, Site Sets & Routing

Since the menuitems came back fine from the MenuProcessor the idea came up to simply pass the pid to f:link.page() and recreate the URL in Fluid. But that still didn't return a proper URL.
Moving to EXT:menus (b13/menus) helped for now.

Actions #2

Updated by Garvin Hicking 5 months ago

Could there be any CLI or backend task involved in executing methods that invoke the frontend, so that maybe no FrontendContext properly exists, but "things" do get propagated to the frontend cache?

Is it reproducible for your root page every time? Does it still happen if you disable the cache for this page? That might help in locating the issue for people like me 😅

Actions #3

Updated by Lina Wolf 5 months ago

I have a similar situation in one of my projects:

https://talk.typo3.org/t/empty-href-on-arbitary-pages/5737

And no solution yet.

Actions #4

Updated by Stefan Froemken 4 months ago

  • Related to Bug #104344: Sometimes TYPO3 renders all links of a page with empty href attribute added
Actions #5

Updated by Garvin Hicking 4 months ago

  • Status changed from New to Closed

Closed in favor of 104344 with a patch proposal.

I hope its ok because I think these are very related (config.linkVars). Let me know if you think this is a mistake.

Actions

Also available in: Atom PDF