Problem/Motivation

This is related to safedelete. Investigating
EntityStorageException: An existing default revision of the 'node' entity type can not be changed to a non-default revision. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php

Turns out we forgot to implement this hook in moderated_content_bulk_publish.
Requires latest release of moderated_content_bulk_publish.

Steps to reproduce

bulk unpublish a published node

Proposed resolution

see commit

Remaining tasks

publish safedelete 1.0.85 and moderated_content_bulk_publish 2.0.50

User interface changes

Support bulk unpublish

API changes

add api

Data model changes

None

Comments

joseph.olstad created an issue. See original summary.

joseph.olstad’s picture

Project: Moderated Content Bulk Publish » SafeDelete
Version: 2.0.x-dev » 1.0.84
Issue summary: View changes
joseph.olstad’s picture

Title: Drupal 11.3.5 bulk unpublish » bulk unpublish regression

joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

joseph.olstad’s picture

Title: bulk unpublish regression » Use bulk unpublish api hook
joseph.olstad’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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