Feature #6774

Improve error message in Property Mapper if type hint of method parameter is invalid

Added by Robert Lemke over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Property
Start date:
2010-03-10
Due date:
% Done:

100%

Estimated time:
1.00 h
PHP Version:
Has patch:
Complexity:

Description

If the type hint or doc comment of a parameter / property of the target object is invalid, the property mapper doesn't notice but just passes it to Utility\TypeHandling which in turn throws an InvalidArgumentException.

This exception could be caught and a more meaningful mapping error issued by the property mapper.

Associated revisions

Revision fbc770ea (diff)
Added by Robert Lemke over 9 years ago

[+FEATURE] FLOW3 (Property): The property mapper now issues a meaningful mapping error if the type hint or doc comment of a target setter is invalid. Resolves #6774

History

#1 Updated by Robert Lemke over 9 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3925.

Also available in: Atom PDF