Skip to content

[5.x]: Content Block - Content Loss #19058

Description

@alexander-dal

What happened?

Description

Our client is repeatedly noticing content loss in a channel called “Personen”. The affected entries have a ContentBlock field named personContentBlock.

The content loss seems isolated to this field. Other entry fields remain intact, but the nested content inside personContentBlock disappears.

I have not been able to reproduce this reliably. We had several meetings with the client to narrow it down, but couldn’t identify a clear workflow that triggers it. The client also says the content is not lost immediately after saving, but only after some time, which seems hard to explain from our side.

Looking at revisions, I can see cases where at 09:37 the personContentBlock still contains all values. In the next revision at 09:38, only something small like the entry title was changed, but the content inside personContentBlock is gone.

This issue is partly a shot in the dark to understand what could cause this or what we should look for.

Steps to reproduce

Unknown. We have not been able to reproduce it reliably.

Observed pattern:

An entry in the “Personen” channel has filled content in personContentBlock.
A later revision is created after a small unrelated change, e.g. title change.
In that revision, personContentBlock is empty.

Expected behavior

Changing unrelated entry fields should not clear existing values inside personContentBlock.

Actual behavior

A later revision exists where unrelated changes are saved, but the personContentBlock content is empty.

Craft CMS version

5.10.4

PHP version

8.2.30

Operating system and version

Linux 6.1.0-44-amd64

Database type and version

MySQL 28.1

Image driver and version

GD 8.2.30

Installed plugins and versions

Blitz 5.12.9
Brevo 1.0.2
CKEditor 5.6.1
Elements Panel 3.0.1
Expanded Singles 3.0.3
Formie 3.1.26
Hyper dev-craft-5
Imager X 6.0.0
Imager X Power Pack 1.1.2
Insights 1.4.0
Retour 5.0.14
SEOmatic 5.1.21
Servd Assets and Helpers 4.2.4.2
Sprig 3.7.2
Vite 5.0.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions