Closed (outdated)
Project:
Paragraphs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2017 at 13:23 UTC
Updated:
2 Jan 2026 at 16:01 UTC
Jump to comment: Most recent
Comments
Comment #2
dafederI have a script that creates paragraphs to be added to a field in another paragraph, and was getting this error occasionally for reasons I still don't understand. FWIW this patch seems to have fixed, though admittedly I don't understand all the implications it could have.
Comment #3
silverham commentedI have same with my scripts in update hook as well. I have tested this in it works. I don't think there would be case where a user wouldn't have access to paragraph parent, especially in code.
Comment #4
silverham commentedComment #5
danyg commentedThanks, it a good patch, it helped me. I've updated paragraph items in update hooks and drush wasn't able update the unpublished nodes. But with this patch it works like a charm. Thanks again.
Comment #6
jstollerCan someone please test to see if this patch is still necessary, given all the recent commits to dev. And if it is, please re-roll against the latest dev.
Comment #7
coffeduong commented@jstoller I've tested the above patch and it worked correctly. Please deploy it on the next release. Thank you!
Comment #8
jstollerThe patch does not apply to 7.x-1.x-dev.
Please test the latest 7.x-1.x-dev release and confirm that you are still able to reproduce this issue, as there have been many changes to the way host entities are handled in Paragraphs. If it is still a problem, then please re-roll the patch so it applies to dev and confirm it fixes the issue.
Comment #9
bluegeek9 commentedUnfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.