Paragraphs integration not working with workflow moderation

Created on 11 July 2023, over 1 year ago

Paragraph integration work well ( https://www.drupal.org/project/require_on_publish/issues/2994476 ✨ Add Paragraphs Support Fixed ) until used in conjunction with Workflow moderation.

I thought maybe this issue with layout builder could be relevant since layout builder and paragraphs both effect the form - https://www.drupal.org/project/require_on_publish/issues/3282077 β†’ - but the patch doesn't resolve the issue.

To reproduce:

  • Make sure workflow moderation is set up on your content type
  • Add a regular field to your content type.
  • Add a paragraph ref field to your content type - using field type 'Entity Reference Revisions'
  • Mark the regular field as 'Required on publish'.
  • Mark one or more fields on the referenced paragraph as 'Required on publish'.
  • When you go to add a new node and you'll see the visual indicator (blue triangles) on both the regular field and the paragraph field, but only the regular will be required to publish.
πŸ’¬ Support request
Status

Active

Version

1.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Katy Jockelson

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

Comments & Activities

  • Issue created by @Katy Jockelson
  • πŸ‡ΊπŸ‡ΈUnited States coconnor

    Can confirm this is an issue.

    Also may be worth noting that we see the same behavior when you set the entity reference revision to "require on publish"

    To reproduce:

    • Make sure workflow moderation is set up on your content type
    • Add a regular field to your content type.
    • Add a paragraph ref field to your content type - using field type 'Entity Reference Revisions'
    • Mark the regular field as 'Required on publish'.
    • Mark the paragraph ref field as 'Required on publish'.
    • When you go to add a new node and you'll see the visual indicator (blue triangles) on both the regular field and the paragraph field, but only the regular will be required to publish.
  • πŸ‡ΊπŸ‡ΈUnited States Katy Jockelson

    More testing reveals that this is definitely a clash between paragraphs and workflow moderation.
    I thought it could be an issue with Entity Reference Revisions, but a node ref field added that same way validates fine with workflow moderation in place.

  • πŸ‡ΊπŸ‡ΈUnited States capellic Austin, Texas

    Also experiencing this problem.

Production build 0.71.5 2024