Issue Bug Closed

#104344Sometimes TYPO3 renders all links of a page with empty href attribute

Stefan Froemken 07/10/24, 07:19 updated 03/28/25, 12:36

Description

Hello,

TYPO3 sporadically renders all href attributes of links with empty URL.

In one of our projects I first detected it within the paginator of EXT:news, but as news just uses the typolink call, it can not be a news issue.

Just yesterday we had another customer where all href attributes of a page are empty. After a clear cache the URLs are rendered again. The URLs are mostly built with MenuDataProcessor, but there are also a lot of URLs from content elements (RTE) without href content.

While tracing the generated cache entry I found out, that the website was called with following URL:

https://example.com/index.php=12&L=612&no_cache=1

So, calling the page with a non configured language ID results in such empty href attributes.

In yesterdays installation I found following TS:

config.linkVars = L(int)

Sure, with such a config the URL is valid, but it is damn hard to debug. Do you see any possibility to prevent empty href attributes on Core site?

Thank you

Stefan

Reviews 1