Problem/Motivation

I am getting below error when we save the paragraph form.

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\paragraph_blocks\Entity\ParagraphBlocksEntity::getChangedTime() in Drupal\conflict\Entity\ContentEntityConflictHandler->autoMergeNonEditedTranslations() (line 399 of modules/contrib/conflict/src/Entity/ContentEntityConflictHandler.php).

Paragraph entity doesn't have changed time stamp field. So this is the problem.

Steps to reproduce

Enable paragraph & paragraph blocks module.
Create new paragraph type and create new block type. Add new paragraph field in block type.
Create block and attach that block to any node page using layout builder or block field module.
You can see contextual link on block section in node page.
Click edit link and save paragraph form. Then you will receive this error.

Proposed resolution

I think temporary solution is check the changed field is exist on entity. Any permanent solution would be best.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#3 3214492-03.patch1.28 KBiyyappan.govind

Comments

iyyappan.govind created an issue. See original summary.

iyyappan.govind’s picture

Issue summary: View changes
iyyappan.govind’s picture

StatusFileSize
new1.28 KB

Seems this patch will help us. Thanks

joel_osc’s picture

Status: Active » Needs review

Patch also worked for me when saving a 'poll' from the poll contrib module.

id.rem.dev’s picture

+1
Works like a charm. One thing is to remove the Todo comment above.