Bulk update nodes with paragraphs

Created on 29 May 2023, over 1 year ago

Problem/Motivation

Hi, is there a way to bulk edit/update all nodes (with all of their translations) having a particular paragraph attached to them? I have some access issue and I can't get information about a paragraph which had disabled translations and then enabled after some time, but with already existing data.

Steps to reproduce

  1. Create a paragraph called foo with one text field (don't enable translations for this paragraph and field).
  2. Add entity reference revision field to the bar node.
  3. Create a bar node and add foo paragraph to it.
  4. Translate this node to another language.
  5. Enable translations for foo paragraph and its text field.
  6. Check access to the foo paragraph attached to the translation of bar node.

The following should result in not having access to the foo paragraph inside a translation. The problem is solved once you manually go to the translation edit form and submit it (even without changing anything)... but without this manual step it's not working.

That's why I asked if there's some better/bulk/automatic way to resolve this issue? I've tried drush entity:save command, but it didn't help.

💬 Support request
Status

Active

Version

1.15

Component

Miscellaneous

Created by

🇵🇱Poland tivi22

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

Comments & Activities

Production build 0.71.5 2024