Feature #36949

Improve Property Mapper Exception message

Added by Adrian Föder about 9 years ago. Updated about 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.

#1

Updated by Gerrit Code Review about 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/11075

#2

Updated by Adrian Föder about 9 years ago

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

Also available in: Atom PDF