Skip to content

[5.x]: Matrix edits collapsing parent and 400: Bad Request #18016

@jhealey5

Description

@jhealey5

What happened?

Description

Our client has reported that recently inline matrix blocks are behaving odd. They appear to collapse then reappear when making changes within them, causing the page to jump, e.g: https://gyazo.com/619fa8824541c52014f4932eef124130

Or, they can disappear completely and no longer return, e.g; https://gyazo.com/d0451d4e694e9444aae36073edbf5c14

In the former there's nothing in console but in the latter cases they display a 400: Bad Request error with an "Invalid element UUID" in the response, e.g;

Image

We also seem to be having edits to content reverted alongside the above issues, e.g; https://gyazo.com/05e05947669435ab4eb7c9f761502d03

This seems to occur for various matrix blocks across various entry types, it's not just isolated to one. There's been no major changes recently to the site so we're confused why it's recently started happening.

We're not able to reproduce this on our staging or local environments, it's only happening on production. It's worth noting that we're using Blitz + Bunny CDN but both production and staging are using the same setup, so it's quite hard to pin down the problem. Any ideas what this could be or where to look for answers?

Craft CMS version

Craft Pro 5.8.19

PHP version

8.3.21

Operating system and version

Linux 6.1.0-35-amd64

Database type and version

MySQL 28.1

Image driver and version

Imagick 3.7.0 (ImageMagick 7.1.1-41)

Installed plugins and versions

Amazon S3: 2.2.3
Blitz: 5.12.5
Cache Helper: 1.0.11
Craft Flare: 1.3.2
Formie: 3.1.4
Mix: v1.8.1
Redactor: 4.2.0
Relax: 2.1.0
Retcon: 3.2.1
Retour: 5.0.12
SEO: 5.1.19
Servd Assets and Helpers: 4.2.0

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