mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove recursive write until its fixed
This commit is contained in:
parent
13b4d60d4a
commit
d320026375
@ -638,7 +638,8 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
|||||||
// Save form and any extra saved data into this dataobject.
|
// Save form and any extra saved data into this dataobject.
|
||||||
// Set writeComponents = true to write has-one relations / join records
|
// Set writeComponents = true to write has-one relations / join records
|
||||||
$form->saveInto($this->record);
|
$form->saveInto($this->record);
|
||||||
$this->record->write(false, false, false, true);
|
// https://github.com/silverstripe/silverstripe-assets/issues/365
|
||||||
|
$this->record->write();
|
||||||
$this->extend('onAfterSave', $this->record);
|
$this->extend('onAfterSave', $this->record);
|
||||||
|
|
||||||
$extraData = $this->getExtraSavedData($this->record, $list);
|
$extraData = $this->getExtraSavedData($this->record, $list);
|
||||||
|
Loading…
Reference in New Issue
Block a user