#87899Magic getters stop to be evaluated in Fluid starting from TYPO3 9
Description
I found a breaking change in sysext/fluid that was considered non-breaking
I‘m referring to this change:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/54043
which relates to this task:
https://forge.typo3.org/issues/82229
My Problem:
We assign an object to a standalone view that uses __call magic method to mimic getter calls.
Up to TYPO3 8.7 there was a class call \TYPO3\CMS\Fluid\Core\Variables\CmsVariableProvider which used ObjectAccess::getPropertyPath internally to fetch values. Magic getters worked well, since ObjectAccess uses is_callable internally.
Starting from TYPO3 9.x this class was removed. It‘s now \TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider that will do the job. In the end method_exists is called which means the magic function is not called.
That leads to the conclusion that the original change was breaking.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.