- π¦πΊAustralia acbramley
I don't think this issue belongs in the core queue and is covered by the other issues linked here in the paragraphs queue. Closing as such.
Please feel free to reopen if you disagree.
The site I'm maintaining utilizes layout builder and paragraph blocks along with content moderation and workflows. I ran into an issue where creating a new draft after a node has been published will erase the paragraph content inside the published revision if that same paragraph has been edited in the new draft. The only seems to happen after a revision has been published, inline paragraph blocks edited in the layout builder behave normal before that point. The breakdown seems to occur once the "current" (published) revision is being juggled along with a new "latest revision". It is also worthwhile to note that I didn't see this occur on a test content type that didn't use layout builder.
Steps to reproduce:
I expected the paragraph block content to remain unchanged in the current live revision, instead it appears as if the content inside the paragraph block is deleted or not rendering for some reason once a draft is created. I did not expect the creation of a new revision to effect the content within the published revision.
In addition, when attempting to edit the block that no longer renders on the published revision, I received a "you do not have permission to edit or delete this block" alert. So content editors are effectively locked out of making any content changes to the effected blocks containing paragraphs.
I was curious to see if this might be an issue with paragraphs, so I created a test content type (without layout builder) that adds paragraphs through the usual entity reference field. This content type also had content moderation enabled. I went through the same steps, although this method does not use paragraph blocks, the paragraph behaved normally in this scenario when layout builder was not being used. So I suspect this glitch might lie within the layout builder module.
As of yet I have not gotten into any code debugging since I just ran across this and was searching to see if this was a known issue with a patch. Has anyone had this problem with paragraph blocks in the layout builder?
I set the priority to "major" as this seems to effect published content, when in practice creating a draft revision should not effect the published one so it may be fairly serious. This does not seem to effect regular core blocks, just the custom blocks using the paragraphs.
Closed: won't fix
9.5
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I don't think this issue belongs in the core queue and is covered by the other issues linked here in the paragraphs queue. Closing as such.
Please feel free to reopen if you disagree.