[TYPO3-mvc] RFC #7417: Bug: Missleading exception on wrong data type

"Christian Müller [kitsunet]" christian at kitsunet.de
Fri May 28 09:46:28 CEST 2010


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker reference:
http://forge.typo3.org/issues/show/7417

Problem:
In Core/ViewHelper/AbstractViewHelper.php:295 validateArguments() tries 
to throw an "wrong type"-exception but generates a new exception itself 
by calling strval($this->arguments[$argumentName])

Solution:
None of the exceptions tries to output the actual value, so don't try it 
on "wrong" array type.

Note:
Diff made against FLOW3 SVN (4333).

--
Christian Mueller
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fluid_issue_7417.diff
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20100528/6df8ce07/attachment.asc>


More information about the TYPO3-project-typo3v4mvc mailing list