mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '4.5' into 4.6
This commit is contained in:
commit
4daccfab67
@ -650,7 +650,8 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
// Save form and any extra saved data into this dataobject.
|
||||
// Set writeComponents = true to write has-one relations / join records
|
||||
$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);
|
||||
|
||||
$extraData = $this->getExtraSavedData($this->record, $list);
|
||||
|
Loading…
Reference in New Issue
Block a user