#1056: Regression: extra parameters added by AgaviRoutingCallback::onGenerate()
are not added to routing string as e.g. query params
----------------------+-----------------------------------------------------
 Reporter:  david     |       Owner:  dominik
     Type:  defect    |      Status:  new    
 Priority:  high      |   Milestone:  1.0.1  
Component:  routing   |     Version:  1.0.0  
 Severity:  critical  |    Keywords:         
Has_patch:  0         |  
----------------------+-----------------------------------------------------
 For instance:

 {{{
 #!php
 <?php

 class GenSetExtraParamRoutingCallback extends AgaviRoutingCallback
 {
         public function onGenerate(array $defaultParameters, array
 &$userParameters, array &$userOptions)
         {
                 $userParameters['id'] = 12345;
                 return true;
         }
 }

 ?>
 }}}

 where "id" is not in the route pattern... won't be added as a query param.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1056>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to