Skip to content

[5.x]: Matrix propagation sometimes wrong for new entry #15321

@WHITE-developer

Description

@WHITE-developer

What happened?

Description

In our large multi-site multi-site-group setup it seems that some sites are getting the matrix blocks propagated while they shouldn't (as of Craft 5, Craft 4 propagated always on first save?).
The matrix is set to "Save entries to other sites in the same site group" but somehow sites from another group also get the blocks propagated, sometimes even only one site from another site group.

Steps to reproduce

  1. Have a multi-site multi-site-group setup (in our case there are 58)
  2. Have a matrix set to "Save entries to other sites in the same site group"
  3. Create an entry with a matrix block in it
  4. Save it

Expected behavior

All sites should have the "first time save" matrix content.
But at least only sites in the same site group have the matrix field.

Actual behavior

Some random sites from other groups also have the matrix field propagated.

(Same project as with the validation visibility, so should be reproducible with the DB sent last time)

Craft CMS version

5.2.5

PHP version

8.3.7

Operating system and version

No response

Database type and version

MySQL 8.0.37

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions