PHRAS-1178_edit-story-and-records_4.0

- change : if a record is updated, every "parent" story is considered as updated too (editDateField(s) set)
 - fix : cache is now invalidated after editing records
 - fix : recordeditsuscriber can't run into recursion anymore
This commit is contained in:
Jean-Yves Gaulier
2016-09-22 15:38:01 +02:00
parent 154c2616a7
commit 877beaa40d
3 changed files with 70 additions and 28 deletions

View File

@@ -933,6 +933,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
$databox_field = $databox->get_meta_structure()->get_element($params['meta_struct_id']);
$caption_field = new caption_field($this->app, $databox_field, $this);
$caption_field->delete_data_from_cache();
$vocab = $vocab_id = null;