Bug #6005

ObjectAccess::getProperty() behaves not as documented when property does not exist

Added by Karsten Dambekalns almost 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Reflection
Start date:
2010-01-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The method should throw an exception as per it's documentation, but returns NULL, which is not really the same thing (think '' vs. NULL).


Files

ObjectAccess.diff (875 Bytes) ObjectAccess.diff Karsten Dambekalns, 2010-01-13 16:51

Related issues

Related to TYPO3.Flow - Feature #5612: Property Mapper should be able to map to target if only a setter existsResolvedKarsten Dambekalns2009-12-03

Actions

Also available in: Atom PDF