Couldn’t find any info on where to report bugs, so I do it here.
I’m using neos/flow 8.3.14, typo3fluid/fluid 2.7.4, PHP 8.4.4.
----- controller
<?php
namespace App\Local\Controller;
/*
* This file is part of the App.Local package.
*/
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\Controller\ActionController;
class StandardController extends ActionController
{
/**
* @return void
*/
public function indexAction(array $arg = [])
{
}
}
----- template
<f:cache.disable />
<f:layout name="Default" />
<f:section name="Title">Index view of Standard controller</f:section>
<f:section name="Content">
<f:link.action action="index" arguments="{arguments}">Link</f:link.action>
</f:section>
----- error
# Neos\Flow\Mvc\Routing\UriBuilder_Original::uriFor(): Argument #2 ($controllerArguments) must be of type array, null given, called in /var/www/flowtest/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_FluidAdaptor_ViewHelpers_Link_ActionViewHelper.php on line 115
|Exception Code|0|
| --- | --- |
|Exception Type|TypeError|
|Thrown in File|Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Flow_Mvc_Routing_UriBuilder.php|
|Line|292|
|Original File|Packages/Framework/Neos.Flow/Classes/Mvc/Routing/UriBuilder.php|
The issue here is that when the page is rendered from cache, I don’t get this error and it works perfectly without issues.