#5866: First parameter empty being passed as index
    Reporter:  tehasdf                               |         Owner:          
        Type:  Bug                                   |        Status:  reopened
    Priority:  Medium                                |     Milestone:  1.2.x.x 
   Component:  General                               |       Version:  RC3     
    Severity:  Normal                                |    Resolution:          
    Keywords:  dispatcher, plugin, routing, tehasdf  |   Php_version:  n/a     
Cake_version:                                        |  
Changes (by scharrier):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>


 Here are the concerned unit tests.

 In fact, when first param value is considered as empty by php (null, 0),
 controller->params[pass][0]'s value is 'index' when accessing in "short
 url" mode to the plugin controller (/members/add).

 2 units tests in my file :
 - with a first param, considered as empty (0)
 - without first param

Ticket URL: <https://trac.cakephp.org/ticket/5866#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to