Paragraphs jumping to different elements

Created on 14 May 2024, 6 months ago

Problem/Motivation

We have a weird issue where one paragraph field content gets replaced by another field when editing content.

Our content model has a hero element, which is a paragraph with a couple fields. We also have a "modular content" paragraph field, where we build the rest of the page. There we can create multiple paragraphs from a couple different paragraph types (image, text, whatever). Overall this works fine for us.

Recently however we've had a weird issue with this. When editing the main "modular content" paragraphs, the hero paragraph replaces the whole other paragraph. So let's say we have five paragraphs in the modular content, we then add another one, drag it to its proper place and fill it with content. So very basic content editing, but then suddenly all (now) six paragraphs disappear and get replaced by the hero element from earlier on the page. The hero element is not even a legal selection for the content paragraph and should never appear there.

Any ideas what might cause this? Seems very strange to me. Nothing weird in browser, drupal or nginx logs. This seems to happen more commonly when the site is under heavy (but normal) load, but is somehow connected to drupal paragraph configuration, since this only happens on a single node type, even though a similar structure is used on other types too.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.17

Component

Code

Created by

🇫🇮Finland teemuaro

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @teemuaro
  • 🇫🇮Finland teemuaro

    In this problematic content type we've used field groups to group fields to help content editor experience. Is this something that might cause problems?

Production build 0.71.5 2024