Bug #5153

Routing: RouterCacheAspect only converts objects in the first dimension of route values

Added by Bastian Waidelich almost 12 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Target version:
-
Start date:
2009-10-27
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

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.

#1

Updated by Bastian Waidelich almost 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3513.

Also available in: Atom PDF