Project

General

Profile

Actions

Bug #66510

closed

Add quotes to dynamic values in thrown exceptions

Added by Romain Canon about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-04-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

It would be more pleasant, and help debugging if values were surrounded by quotes when an error/exception is thrown.

Example that happened to me: Exeption #1289386765 in TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory->buildClassInfoFromClassName, my class name had a space at its end (missclick for sure), and I spent too much time to understand why the exception was thrown. I'm sure I would have got it faster if I was able to see this space.

Actions

Also available in: Atom PDF