Content moderation is not working with Core paragraphs

Created on 11 December 2024, about 2 months ago

Hello Team,

We have implemented workflow for our site contents. The page uses paragraphs components. But, the workflow and content moderation is not working with Core paragraphs. When we edit a page containing paragraphs components, the updated changes are visible in the edit page, but the revision view still previous version.

Do we need to additional use a module or a configuration to enable revision for paragraphs? We can't see a enable revision option for paragraphs.

Please help us to resolve this issue.

-
Thanks & Regards
Jithin J Antony

🐛 Bug report
Status

Active

Version

1.18

Component

Code

Created by

🇮🇳India jithinantony

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

Comments & Activities

  • Issue created by @jithinantony
  • 🇨🇭Switzerland berdir Switzerland

    Paragraphs supports Content Moderation, make sure you are using an Entity Reference Revisions field. Only the host entity needs to have the workflow enabled.

  • 🇮🇳India jithinantony

    Thank you for your response.

    We have workflow and revision enabled for the content type. The content type has an 'Entity reference revisions' field where the paragraph components are added. Is there any other configuration needed by your message "Only the host entity needs to have the workflow enabled."?

  • 🇨🇭Switzerland berdir Switzerland

    Shouldn't require any extra steps, but I'm also not sure I fully understand your problem. I'm assuming you are using the default stable widget and the default entity reference revisions formatter to display paragraphs. If you are using custom code or views, then the problem is likely there. There is an issue in ERR about the views integration not working correctly. I would suggest you try it out on a plain Drupal install with a minimal setup and see if it works there.

Production build 0.71.5 2024