[BUGFIX] Fix ObjectAccess::isPropertyGettable for ArrayAccess objects
While introducing symfony/property-access, method isPropertyGettable of class ObjectAccess had been adjusted in a manner which made the mixed usage of array access and regular property access impossible. If an object implemented ArrayAccess and used regular properties, all of those properties were reported inacessible/non-gettable which is not true. With this patch, regular properties and those defined magically via ArrayAccess are detected correctly as gettable. Releases: master, 10.4 Resolves: #91784 Change-Id: If523943f679beabf40ad5d71c0e0d1d0fef8db4d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65234 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Please register or sign in to comment