LogicException: Entity type site_setting_entity does not support revisions.

Created on 15 November 2024, about 12 hours ago

Problem/Motivation

I receive an error when trying to update the default language entity that does not support revisions.

LogicException: Entity type site_setting_entity does not support revisions. in Drupal\Core\Entity\ContentEntityBase->setNewRevision() (line 305 of /var/www/cms/docroot/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

Steps to reproduce

Update the default language of the SiteSettingEntity

Proposed resolution

Checking whether the item is marked as a new version and, if so, setting it not to create a new version.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024