Bug #5153
Routing: RouterCacheAspect only converts objects in the first dimension of route values
Status: | Resolved | Start date: | 2009-10-27 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | MVC | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
in Classes/MVC/Web/Routing/Aspect/RouterCachingAspect.php
we currently have
foreach ($routeValues as $k => $v) { if (is_object($v)) { $routeValues[$k] = spl_object_hash($v); } }
But $routeValues could be multi-dimensional, so we'll have to convert objects recursively.
Associated revisions
[+BUGFIX] FLOW3 (MVC): RouterCachingAspect now converts objects to hashes recursively, fixes #5153
History
#1 Updated by Bastian Waidelich over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r3513.