Bug #6297

Not possible to create link to Typo3-Pages with additional piVars

Added by Mathias Gisch over 12 years ago. Updated over 11 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
Has patch:


If I want to create a link to a Typo3-Page and add addtional attributes for old-style pibase-Plugins the Viewhelper throws an exception:

#1237900520: The argument additionalAttributes was registered with type array, but is of type string in viewhelper Tx_Fluid_ViewHelpers_Link_PageViewHelper

Try the following:

<f:link.page pageUid="{detailsPage}" additionalAttributes="{tx_ltpdb_test[argument]: 234}">Test</f:link.page>


FluidPatch.patch (804 Bytes) FluidPatch.patch Patch for the ViewHelper Description Falk Kühnel, 2010-02-24 14:08

Updated by Falk Kühnel over 12 years ago

i can confirm this behavior.


Updated by Anonymous over 12 years ago

I can confirm this behaviour, too.
Without squared brackets the link creation works fine. Special characters like squared brackets or their replacements %5B and %5D somehow seem to break the creation of the array.


Updated by Falk Kühnel about 12 years ago

I found out, how to solve the Problem.
Actually the UriBuilder accepts the arguments with a prefix in the following syntax:

<f:link.page pageUid="{detailsPage}" additionalAttributes="{tx_ltpdb_test: {argument : 234}}">Test</f:link.page>

This will result in a proper link like this:

<a href=".....&tx_ltpdb_test[argument]=234...">Test</a>


Updated by Sebastian Kurfuerst about 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Sebastian Kurfuerst
  • Priority changed from Should have to Must have

Updated by Sebastian Kurfuerst about 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
  • Branch set to v4

Also available in: Atom PDF