[DDC-2064] [GH-469] ProxyFactory: Catch exception if type hint of entity method parameter is invalid Created: 11/Oct/12 Updated: 29/Dec/13 Resolved: 06/Jan/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
Doctrine 2.2.2, Symfony 2.0.17
In Symfony I got this exception when I access the page after cleaning the cache:
The reason was a wrong type hint in the setter method of a property:
Is it possible to merge this fix also into 2.2 branch? Or should I do that myself?
I made a pull request on github
ProxyFactory: Catch exception if a type hint of an entity's method parameter is invalid and forward the exception with a better readable and more helpful message.
|Comment by Benjamin Eberlei [ 06/Jan/13 ]|
Problem will be fixed in refactoring that Marco Pivetta is currently doing.
|Comment by Doctrine Bot [ 29/Dec/13 ]|
A related Github Pull-Request [GH-469] was closed: