Project

General

Profile

Bug #98486

Updated by Chris Müller over 1 year ago

Using the following snippet in a Fluid template (from the documentation examples extension): 

 <pre> 
 <f:link.page pageUid="{settings.singlePid}" additionalParams="{tx_examples_haiku: {action: 'show', haiku: haiku.uid}}">{haiku.title}</f:link.page> 
 </pre> 

 throws the following PHP warning in current main (12.0.x-dev, used commit 3d6c735): 

 <pre> 
 Array to string conversion in /var/www/html/public/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 223 
 </pre> 

 The additionalParams is given as an array, then a string is appended to that array. 

 I assume, this comes from this commit: 
 https://github.com/TYPO3/typo3/commit/ae28f3d22f3a69b70f5f976c1e348739ac438331 

 The usage of the view helper worked some days ago.

Back