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
#1

Updated by Bastian Waidelich over 9 years ago

  • Subject changed from FLOW3's var_dump() chokes on Doctrine collections to FLOW3's var_dump() still chokes on Doctrine collections
#2

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13071

#3

Updated by Robert Lemke over 9 years ago

  • PHP Version set to 5.4

Just for the record, the exception (cause by a Notice warning) is only thrown with PHP 5.4.x – in PHP 5.3 the array will simply be cast into "Array".

#4

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13071

#5

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13071

#6

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13071

#7

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13071

#8

Updated by Bastian Waidelich over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/13341

#10

Updated by Bastian Waidelich over 9 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF