Feature #32587

Make property mapping exception more verbose

Added by Adrian Föder almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Could have
Assignee:
Category:
Property
Start date:
2011-12-15
Due date:
% Done:

100%

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

Description

Currently an exception while property mapping reads as following:

Property "bazbar" could not be set in target object of type "Foo\Bar\Baz\Xyz".

For debugging purposes it would be helpful if it gets

Property "bazbar" with value type "Doctrine\Common\Collections\ArrayCollection" could not be set in target object of type "Foo\Bar\Baz\Xyz".
#1

Updated by Gerrit Code Review almost 10 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/7270

#2

Updated by Adrian Föder almost 10 years ago

...besides, the change inserts a white space to avoid this:

#1297759968: Exception while property mapping at property path "":Property "foobar" with value type [....]
#3

Updated by Adrian Föder almost 10 years ago

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

Also available in: Atom PDF