Bug #6005
ObjectAccess::getProperty() behaves not as documented when property does not exist
Status: | Resolved | Start date: | 2010-01-13 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Reflection | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 8 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
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).
Related issues
Associated revisions
[+BUGFIX] FLOW3 (Reflection): ObjectAccess::getProperty() now throws an exception when a property does not exist, fixes #6005.
[~TASK] FLOW3 (Reflection): GenericObjectValidator now checks properties even if they are not accessible normally.
History
#1 Updated by Karsten Dambekalns over 5 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3739.