Problem/Motivation

Wen moderation is enabled, converting a paragraph that has translations to library_item, results in translations being unpublished.

Steps to reproduce

On a multilingual website.

  1. Choose promote to library for a container that is published in all languages.
  2. Save the library item.
  3. Go to the library item and check the translations. The original version is published, the translation is not.

Proposed resolution

Set the moderation_state when creating the translation.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork paragraphs-3253843

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Primsi created an issue. See original summary.

Primsi’s picture

Status: Active » Needs review

Added tests.

Berdir made their first commit to this issue’s fork.

  • Berdir committed d366e7a on 8.x-1.x authored by Primsi
    Issue #3253843 by Primsi: Library item translations unpublished
    
Berdir’s picture

Status: Needs review » Fixed

Thanks, looks good.

Status: Fixed » Closed (fixed)

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