Bug #39286

FLOW3's var_dump() still chokes on Doctrine collections

Added by Bastian Waidelich over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Error
Start date:
2012-07-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.4
Has patch:
No
Complexity:

Description

The patch provided with #37481 didn't solve the issue unfortunately.
Now, if you debug entities with properties of type \Doctrine\Common\Collections\Collection the debugger throws an exception because it tries to cast an array to string.
The reason is, that \Doctrine\Common\Util\Debug::export() returns an array or stdClass while we expect a string.


Related issues

Related to TYPO3.Flow - Bug #37481: FLOW3's var_dump() chokes on Doctrine collectionsResolvedKarsten Dambekalns2012-05-25

Actions

Also available in: Atom PDF