Project

General

Profile

Actions

Bug #90229

closed

Cast integer to string items during route argument mapping

Added by Oliver Hader almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & 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 #1

Updated by Oliver Hader almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Oliver Hader almost 5 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63056

Actions #4

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63056

Actions #5

Updated by Gerrit Code Review almost 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63057

Actions #6

Updated by Oliver Hader almost 5 years ago

  • Related to Bug #87120: More flexible way to exclude arguments from cHash calculation added
Actions #7

Updated by Gerrit Code Review almost 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63056

Actions #8

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63057

Actions #9

Updated by Oliver Hader almost 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF