Issue Bug Closed

#87970Sites configuration module broken

Joschi Kuphal 03/20/19, 20:58 updated 12/23/19, 22:48

Description

When trying to add a new site configuration via the Sites module by clicking the button “Add new site configuration for this site”, the following error occurs:

> The argument “parameters” was registered with type “array”, but is of type “string” in view helper “TYPO3\CMS\Fluid\ViewHelpers\Be\UriViewHelper”.

The reason seems to be the wrongly escaped viewhelper argument parameters in /typo3/sysext/backend/Resources/Private/Templates/SiteConfiguration/Edit.html (see https://github.com/TYPO3/TYPO3.CMS/commit/0824e6e84b05d10fb431d9de308f37dbdce198b4#diff-3334d6ec7728df769c410043fd8ec672R3):

action="{f:be.uri(route:'site_configuration', parameters:{action: 'save'})}"

Can be fixed by changing to:

action="{f:be.uri(route:'site_configuration', parameters:'{action: \'save\'}')}"

Reviews 2