symfony/symfony — pull request #3618 by guilhermeblanco (2012-03-16 17:44:11+00:00)
Title: Fixed profiler report under an exception of a sub-request

When a sub-request contains an exception, PdoProfilerStorage was entering in an infinite loop.
Fixed by preventing the read/createProfileFromData recursion.

I experienced this situation when I was trying to consume an undefined variable in a twig template which was part of a sub-request (ESI template).