Bug #60913 ยป fluid-form-lazyloadingproxy.patch
typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php | ||
---|---|---|
* @see \TYPO3\CMS\Extbase\Mvc\Controller\Argument::setValue()
|
||
*/
|
||
protected function renderHiddenIdentityField($object, $name) {
|
||
if (is_object($object) && $object instanceof \TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy) {
|
||
$object = $object->_loadRealInstance();
|
||
}
|
||
if (!is_object($object)
|
||
|| !($object instanceof \TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject)
|
||
|| ($object->_isNew() && !$object->_isClone())) {
|