Ticket #470 (closed defect: invalid)
AgaviWebRouting - array_reverse bug
| Reported by: | RossC0 | Owned by: | david |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | routing | Version: | 0.11.0RC4 |
| Severity: | normal | Keywords: | |
| Cc: | Patch attached: |
Description
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!
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

