Skip to content

[5.x]: "Attempting to save an element in an unsupported site" + Entries resave propagates content to wrong sites. #16609

@zsavajji

Description

@zsavajji

What happened?

Description

We're working on a big project, and after completing the data-entry on the Craft instance (Started as 5.0.0-beta.3 and updated through development), we found some issues after saving content in some sites.
Problems range from: saving an entry which contains Matrix blocks saved only in that specific site and seeing that same blocks in that same language in other sites, to finding elements available in sites which they've never been saved in, etc.

The strangest behavior gets triggered from the resave/entries console command, that propagates the locale in which the resave is triggered on to all the other locales, even the ones where the content was localized.

I can provide a sample of the database, but we're finding a lot of problems in this install.

Can you help us? :(

Craft CMS version

5.6.x

PHP version

8.3

Operating system and version

No response

Database type and version

MariaDB 10.6

Image driver and version

No response

Installed plugins and versions

  • CKEditor 4.5.0
  • Cloner 3.0.1
  • Donkeytail 5.0.0-beta.2
  • Expanded Singles 3.0.1
  • Feed Me 6.6.1
  • Formie 3.0.19
  • GraphQL Authentication 3.0.0-RC3
  • Navigation 3.0.5
  • Smith 3.1.0
  • Control Panel Nav 5.0.2

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