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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lukasz.tyc created an issue. See original summary.

luk.tc’s picture

luk.tc’s picture

Status: Active » Needs review
omarlopesino’s picture

I've already uploaded a MR with the changes, and forgot to put the issue in needs review. The MR is the canonical proposed change.

My bad, I had a confussion. Sorry!

omarlopesino’s picture

facine’s picture

Status: Needs review » Fixed

Merged, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.