Project

General

Profile

Bug #89647

Updated by Oliver Hader almost 5 years ago

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 : 
 <pre> 
 /member/register /member/register?s168cfd818c624a202c543af315db68c=Member&we12a13bddd5a5b908a01faba7c1f133=create&cHash=eabaac9eeff7a6d7db7ed1468db9530a 
 ?s168cfd818c624a202c543af315db68c=Member 
 &we12a13bddd5a5b908a01faba7c1f133=create 
 &cHash=eabaac9eeff7a6d7db7ed1468db9530a 
 </pre> 

 Working uri before v9.5.10 : 
 <pre> 
 /member/register 
 ?tx_myext_myplugin[controller]=Member 
 &tx_myext_myplugin[action]=create 
 &cHash=eabaac9eeff7a6d7db7ed1468db9530a /member/register?tx_myext_myplugin[controller]=Member&tx_myext_myplugin[action]=create&cHash=eabaac9eeff7a6d7db7ed1468db9530a 
 </pre> 
 This happens in PageRouter::generateUri() with option 'deflatedParameters', if theses lines are commented, everything works fine : 

 <pre><code class="php"> 
 if ($route->hasOption('deflatedParameters')) { 
    $parameters = $route->getOption('deflatedParameters'); 
 } 
 </code></pre> 


 Here is the form that I used : 

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

 It's the same with all forms. 


Back