Project

General

Profile

Actions

Bug #89647

closed

Forms routing not working because of option 'deflatedParameters'

Added by Florian Rival over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-11-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
routing symfony deflatedParameters
Complexity:
Is Regression:
Yes
Sprint Focus:
On Location Sprint

Description

Hi,

I use a form to register a user, it works fine in version 9.5.9 (not really sure of the exact version but it worked in a 9.5 version less than 9.5.10) but now that I upgraded to 9.5.11, the controller action (i.e. : create) is no more called, instead, the default action is called it look like the request parameters are ignored.

I've seen that the url changed.

Current uri not working :

/member/register
?s168cfd818c624a202c543af315db68c=Member
&we12a13bddd5a5b908a01faba7c1f133=create
&cHash=eabaac9eeff7a6d7db7ed1468db9530a

Working uri before v9.5.10 :

/member/register
?tx_myext_myplugin[controller]=Member
&tx_myext_myplugin[action]=create
&cHash=eabaac9eeff7a6d7db7ed1468db9530a

This happens in PageRouter::generateUri() with option 'deflatedParameters', if theses lines are commented, everything works fine :

if ($route->hasOption('deflatedParameters')) {
   $parameters = $route->getOption('deflatedParameters');
}

Here is the form that I used :

<f:form action="create" enctype="multipart/form-data"  name="newMember" object="{newMember}">
    ...
</f:form>

It's the same with all forms.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87688: routeEnhancer has problem with additional parameter longer than 31 characters or number as parameterClosed2019-02-11

Actions
Related to TYPO3 Core - Bug #86999: routeEnhancers type: Simple destroy extbase action/controller in urlClosed2018-11-25

Actions
Actions #1

Updated by Florian Rival over 4 years ago

Don't know why but this bug disappeared and still in V9.5.11, you can close this issue.

Actions #2

Updated by Susanne Moog over 4 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Oliver Hader over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Oliver Hader over 4 years ago

  • Related to Bug #87688: routeEnhancer has problem with additional parameter longer than 31 characters or number as parameter added
Actions #5

Updated by Oliver Hader over 4 years ago

That was probably related to issue #87688 which has been addressed in TYPO3 v9.5.12

Actions #6

Updated by Oliver Hader over 4 years ago

  • Status changed from New to Resolved
Actions #7

Updated by Oliver Hader over 4 years ago

  • Related to Bug #86999: routeEnhancers type: Simple destroy extbase action/controller in url added
Actions #8

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF