Actions
Bug #60913
closedCannot edit lazy loaded objects
Start date:
2014-08-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Lazy loaded objects cannot be edited through Fluid forms.
Given the following form:
<f:form name="bar" object="{foo.bar}"> <f:form.textfield property="propertyOfBar"/> <f:form.submit value="Update"/> </f:form>
If "bar" of "foo" is an instance of TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy
the initial check in TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewHelper::renderHiddenIdentityField
fails because the LazyLoadingProxy
instance cannot be an instance of TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
. This prevents the hidden identity field from being rendered which makes editing impossible.
Files
Updated by Stefan Froemken about 10 years ago
- Status changed from New to Resolved
Applied in changeset 66d5ac3ad72e92b4158f9d09cf9ae8e0ca6b03c7.
Actions