#470: AgaviWebRouting - array_reverse bug
---------------------+------------------------------------------------------
 Reporter:  RossC0   |       Owner:  david    
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  0.11     
Component:  _OTHER_  |     Version:  0.11.0RC4
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 I'm logging all actions etc and in my logger I store the route i.e.
 $ro->gen(null);

 This has lead to a couple of bugs creeping in which have been hard to
 replicate caused by:

 $routes = array_reverse($req->getAttribute('matched_routes',
 'org.agavi.routing'));

 If the matched_routes aren't stored then getAttribute returns null! and
 cannot be reversed!

 Patch incoming!

-- 
Ticket URL: <http://trac.agavi.org/ticket/470>
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