Drupal Paragraphs and Content Revisions: Why Reverts Leave Paragraph Data Out of Sync
November 27, 2026Your content editor confirmed the revert on Friday: the Drupal node looked right in the browser, and the Paragraphs content appeared restored. Then Monday morning, a decoupled frontend reading paragraphs through JSON:API's /paragraph routes is showing the pre-revert copy. Paragraph::load() returns the version you reverted away from.
The page looked fine. That's the problem.
| What you're asking | The answer |
|---|---|
| Does reverting a node always render the right content? | Yes — rendering follows target_revision_id, which the revert updates correctly |
| Is the paragraph database always in sync after a revert? | Only when every ERR field is untranslatable |
| Which integrations break? | Anything that loads paragraphs by ID: Paragraph::load() (confirmed in my lab), and likely Views on the Paragraph base table, Search API indexes using the Paragraph datasource, and JSON:API /paragraph/* routes. Anything that goes through the node, including rendering and node-based Search API indexes, follows target_revision_id and stays correct. |
| What's the fix? | Make every ERR field untranslatable at every depth of your paragraph tree |
Untranslatable ERR fields: the baseline that works
When every Entity Reference Revisions field in your hierarchy is configured as untranslatable, a node revert works correctly end to end. I ran this through edits, removals, reordering, and deep nesting in my DDEV lab (Drupal 11.4.12, Paragraphs 1.23.0, ERR 1.15.0).
Inside EntityReferenceRevisionsItem::preSave(), the decision logic is roughly [1]:
$is_affected = !$field->isTranslatable() || $host->hasTranslationChanges();
When the field is untranslatable, !$field->isTranslatable() is TRUE, which forces $is_affected = TRUE. ERR calls setNewRevision() and saves the paragraph — the whole tree gets cloned into fresh revisions with updated target_revision_id pointers. drush err:purge is safe here too: its orphan purger calls $query->allRevisions(), checking usage across the full parent revision history before deleting anything [1].
Translatable ERR fields: the hidden revision desync mechanism
Field UI enables translation on every field by default when you enable content translation on a bundle. Paragraphs flags translatable ERR fields as unsupported in the admin UI [4] — but the warning is easy to overlook during setup.
Here's what happens on a revert when the ERR field is translatable.
createRevision() runs first, copying the old revision's field values — including target_revision_id — into the new revision. That's why the node page renders the reverted content correctly. Then EntityReferenceRevisionsItem::preSave() runs. The hasTranslationChanges() check compares each paragraph against its previous revision. On a content revert there are no translation changes to detect, so $is_affected evaluates to FALSE. ERR skips setNewRevision(). No new paragraph revision is saved [1].
The result: the node points at the correct historical paragraph revision for rendering. The paragraph's default revision in paragraphs_item_field_data is still the forward-edited version. Paragraph::load($id) returns that — the default revision, not the one the node is pointing at [3].
The page looks right. The data isn't.
Save lifecycle order: why hooks can't prevent desync
The first instinct is a presave hook. It won't work. Inside ContentEntityStorageBase, the execution order is [2]:
invokeFieldMethod('preSave', $entity)— ERR'spreSave()runs here, making its revision decisionparent::invokeHook('presave', $entity)— yourhook_entity_presave()fires here
ERR has already decided whether to save a new paragraph revision before your hook gets control. A presave hook can detect the desync after the fact and attempt a repair, but it can't prevent the decision ERR made in step 1.
Cascading through nested structures
If a container paragraph holds child paragraphs, and the container's ERR field is translatable, the container won't get a new revision — and neither will any of its children, because the child save logic is gated on the immediate parent's ERR field presave decision.
I tested this at 8 and 12 nesting levels. Any translatable ERR field at any depth desyncs every paragraph below it, even if the node's own top-level ERR field is untranslatable. One translatable field in the middle of a deep chain is enough.
Secondary failure modes: out-of-band pruning and naive cloning
Out-of-band deletion. Delete paragraph revisions directly — raw SQL, a custom pruning script, anything bypassing ERR's purger API — and the results are silent. With untranslatable ERR fields, the paragraph is dropped on revert; with translatable fields, a dangling reference is saved. No warning either way. drush err:purge exists precisely because it checks which revisions are still referenced by which host revisions. Use it [1].
Naive cloning. Duplicate a node by copying its raw field values and two host entities end up referencing the identical paragraph entity ID. The next save on either host overwrites the parent pointer and both nodes desync each other from that point forward. The right approach is Paragraph::createDuplicate(), which recursively clones the paragraph and all its children into new entities [3].
Supported multilingual configuration: symmetric vs. asymmetric
The Paragraphs-recommended setup — symmetric multilingual — uses untranslatable ERR fields at every depth of the paragraph tree [4][5]. Translatable content lives on fields within the paragraph bundle, not on the ERR reference field itself. You can still translate paragraph content; you just configure the reference field as untranslatable.
Asymmetric translation — a genuinely different paragraph structure per language — is a real use case that does require translatable ERR fields. It's the exception Paragraphs explicitly labels unsupported and leaves for teams who need it badly enough to handle the complexity. For those architectures, a custom guard approach makes sense: post-save logic that promotes stale paragraph revisions to default, detects missing revisions before they cause silent drops, and detaches shared paragraph entities. That's a custom build, not a Packagist install.
Remediation: auditing and repairing desynced paragraph data
Changing ERR fields from translatable to untranslatable prevents future desyncs. It does nothing for nodes already out of sync [1]. Each affected host node must be explicitly re-saved before its paragraph default revisions are corrected.
Here's how I audit this on a client site:
- List every ERR field and whether it's translatable. The quickest check is your exported config: any
field.field.*.ymlwith field_type:entity_reference_revisionsand translatable: true, including fields on paragraph types. - For each node using those fields, compare each referenced paragraph's target_revision_id with that paragraph's current default revision (
Paragraph::load($id)->getRevisionId()). A mismatch is a desynced paragraph. Check nested paragraphs the same way. - Make those ERR fields untranslatable, then re-save each affected node with a Drush script or Batch API job. With the field untranslatable, ERR saves a fresh paragraph revision, which becomes the default.
- Run the step 2 check again to confirm nothing is left.
If anything on your site reads paragraphs by entity ID rather than through the host node (a decoupled frontend on JSON:API's /paragraph routes, Views built on the Paragraph base table, a Search API index on the Paragraph datasource), treat this audit as urgent. Those integrations are reading the default revision. And the default revision is probably wrong.
The Drupal Odyssey runs on exactly these kinds of architectural details — the gaps between what the browser shows you and what the database actually contains.
If you’re working through a content architecture review and want another set of eyes on how your Paragraphs setup holds up under revision pressure, let’s talk through it.