TYPO3 Exception 1690365240
Note
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the Troubleshooting section in the menu. You can also ask questions and receive support in the TYPO3 Questions category on talk.typo3.org.
To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.
TYPO3 12.4.16 - 04.07.2024
Warning
#1690365240 RuntimeException The rendering context of ViewHelper f:link.action is missing a valid request object.
Installation Overview
<f:
Viewhelper in Standalone View (Email)
The Issue
The error comes when trying to send an email.
Solution
I solved this by setting standaloneView->setRequest, however this method is internal.
use TYPO3\CMS\Extbase\Mvc\RequestInterface;
public function sendEmail(RequestInterface $request, ...): bool
{
$this->standaloneView->setRequest($request);
// Set sender to default value
}
Using the internal method set
on the Standalone
is currently the best option.
Another solution would be provide the fully build links as variable assignments to the view.