Project

General

Profile

Actions

Bug #90229

closed

Cast integer to string items during route argument mapping

Added by Oliver Hader about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-01-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

  TestingPlugin:
    type: Plugin
    namespace: tx_my
    routePath: '/filter/{a}/{b}/{c}'
    _arguments:
      a: 0
      b: 1
      c: 2

(to work e.g. with tx_my[]=a&tx_my[]=b...)

fails with error message like

TypeError : Argument 1 passed to TYPO3\CMS\Core\Routing\Enhancer\VariableProcessor::addNestedValue()
must be of the type string, integer given, called in typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php on line 286

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87120: More flexible way to exclude arguments from cHash calculationClosed2018-12-11

Actions
Actions

Also available in: Atom PDF