#58612Make object access work with ObjectStorage
Description
ObjectAccess->getPropertyPath() does not work with
ObjectStorage and numerical indexes, but it should be
because without it form fluid fields cannot be
properly handled as the value is always null.
Fixing fetching objects from ObjectStorage by index
will also enable shorter access of single objects in Fluid.
Imagine you want to render the first image in your
template. Previously you had to write this:
<f:for each="{object.images}" as="image" iteration="iterator">
<f:if condition="{iterator.isFirst}">
<f:image image="{image}" alt="" width="50"/>
</f:if>
</f:for>
Now you can just write:
<f:image image="{object.images.0}" alt="" width="50"/>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.