Feature #36949

Improve Property Mapper Exception message

Added by Adrian Föder about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-05-08
Priority:Should have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:Property
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:Yes

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.

Associated revisions

Revision fb0c15a2
Added by Adrian Föder about 3 years ago

[FEATURE] Improve Property Mapping Exception message

The exception message for when a Mapping fails now
contains a hint about the concerning target type.

Change-Id: I7188ec5cdbf5103144a853e7fe8028b65cf7a29b
Resolves: #36949
Releases: 1.1

History

#1 Updated by Gerrit Code Review about 3 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 3 years ago

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

Also available in: Atom PDF