Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291167

Make edit module work with tempstore, so revisions are not saved on all atomic field edits

$
0
0

Problem

When revisions are turned on for a node (type), new revisions are saved for each individual field edit. It "spams" the node revisions list heavily, therefore we need to figure out a way to queue up the changes and only save occasionally (either with user action or timed autosaves).

Proposed solution

Utilize tempstore to store a temporary version of the entity while it is being edited and do actual saves only occasionally.

AttachmentSizeStatusTest resultOperations
edit-tempstore.patch1.51 KBIdlePASSED: [[SimpleTest]]: [MySQL] 49,562 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 291167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>