Project

General

Profile

Actions

Bug #86592

closed

Argument 2 passed to TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer::applyControllerActionValues() must be of the type array, null given

Added by Daniel Siepmann over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-08
Due date:
% Done:

100%

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

Description

Given the following routing configuration:

routeEnhancers:
  ExamplePlugin:
    type: Extbase
    extension: ExampleExtension
    plugin: Address
    defaultController: 'Address::index'
    routes:
      -
        routePath: '/edit/{address}'
        _controller: 'Address::edit'
        _arguments:
          'address': 'address'
      -
        routePath: '/update'
        _controller: 'Address::update'
    aspects:
      address:
        type: PersistedPatternMapper
        tableName: 'tx_exampleextension_domain_model_address'
        routeFieldPattern: '^(?P<company_name>.+)-(?P<uid>\d+)$'
        routeFieldResult: '{company_name}-{uid}'

and submitting the edit form, results in the url https://workshop-extension.at.localhost/plugin/update and the error:

Argument 2 passed to TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer::applyControllerActionValues() must be of the type array, null given

Actions #1

Updated by Gerrit Code Review over 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/58595

Actions #2

Updated by Gerrit Code Review over 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/58595

Actions #3

Updated by Gerrit Code Review over 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/58595

Actions #4

Updated by Gerrit Code Review over 5 years ago

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

Actions #5

Updated by Daniel Siepmann over 5 years ago

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

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF