Commit 5741fc8d authored by Carsten  Rose's avatar Carsten Rose

Merge branch 'F9517TagInput' into 'develop'

Fixes #10177: Fill STORE_RECORD directly after form INSERT/UPDATE - '{{id:R}}'...

See merge request !257
parents 203359e4 1d6abb6f
Pipeline #3330 passed with stages
in 3 minutes and 35 seconds
......@@ -550,9 +550,6 @@ class QuickFormQuery {
$rc = $save->process();
// Reload fresh saved record and fill STORE_RECORD with it.
$this->store->fillStoreWithRecord($this->formSpec[F_TABLE_NAME], $rc, $this->dbArray[$this->dbIndexData], $this->formSpec[F_PRIMARY_KEY]);
$save->processAllUploads($rc);
// Action: After*, Sendmail
......
......@@ -309,6 +309,9 @@ class Save {
}
}
// Reload fresh saved record and fill STORE_RECORD with it. Do this before nativeDoSlave().
$this->store->fillStoreWithRecord($this->formSpec[F_TABLE_NAME], $recordId, $this->db, $this->formSpec[F_PRIMARY_KEY]);
$this->nativeDoSlave($recordId);
return $recordId;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment