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

"Christian Müller (Kitsunet)" christian at kitsunet.de
Fri Jun 11 08:47:50 CEST 2010


On 28.05.2010 09:46, "Christian Müller [kitsunet]" wrote:
> 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

reminder (is that ok?)...

Christian



More information about the TYPO3-project-typo3v4mvc mailing list