Feature #36949

Improve Property Mapper Exception message

Added by Adrian Föder over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Property
Start date:
2012-05-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

Description

The current exception message could be improved in order to make bug tracking more simple. The message should read

Exception while property mapping for target type "TYPO3\Media\Domain\Model\Image", at property path "submittedFile": The target type was no string, but of type "NULL" 

while it now reads only

Exception while property mapping at property path "submittedFile": The target type was no string, but of type "NULL" 

The hint about the target type will make it simpler to know where to search.

Also available in: Atom PDF