Environment
- TYPO3: 14.3.7
- maps2: 13.0.1
- PHP: 8.5
Steps to reproduce
- Create a POI collection record with a marker/route/etc.
- In the "Info Window Content" RTE field, insert an internal page link (e.g. via the standard RTE link browser → "Page").
- Render the map on the frontend and click on that marker.
Expected behavior
The info window opens and shows the content, including a working link to the internal page.
Actual behavior
The AJAX request to GetInfoWindowContentMiddleware fails. PHP logs:
PHP Warning: Undefined global variable $TYPO3_REQUEST in vendor/typo3/cms-frontend/Classes/Typolink/LinkFactory.php line 130
followed by a fatal TypeError, since ContentObjectRenderer::setRequest() is typed as non-nullable (ServerRequestInterface $request).
Thanks for having a look! 😊
Environment
Steps to reproduce
Expected behavior
The info window opens and shows the content, including a working link to the internal page.
Actual behavior
The AJAX request to GetInfoWindowContentMiddleware fails. PHP logs:
PHP Warning: Undefined global variable $TYPO3_REQUEST in vendor/typo3/cms-frontend/Classes/Typolink/LinkFactory.php line 130
followed by a fatal TypeError, since ContentObjectRenderer::setRequest() is typed as non-nullable (ServerRequestInterface $request).
Thanks for having a look! 😊