Problem/Motivation
If data is missing in paragraphs_bundle table, migration will fail with error Undefined array key "paragraph_bundle_name"
Steps to reproduce
Remove some entries from paragraphs_bundle table and then do migration
Proposed resolution
Modify Paragraphs Type source plugin to handle missing Pargraphs bundle
Remaining tasks
None
User interface changes
None
API changes
None
Data model changes
None
Comments
Comment #2
narendrarInitial patch
Comment #4
narendrarUpdated patch
Comment #5
narendrarUpdated patch
Comment #7
narendrarAnother one :)
Comment #8
narendrarPatch on top of
https://www.drupal.org/project/paragraphs/issues/3226658#comment-14182708 and https://www.drupal.org/project/paragraphs/issues/3145755#comment-14185403
Comment #9
narendrarWorking Patch on top of
https://www.drupal.org/project/paragraphs/issues/3226658#comment-14182708 and https://www.drupal.org/project/paragraphs/issues/3145755#comment-14185403
Comment #10
huzooka#7 does not migrate those paragraph types which don't have any paragraph entity instances.
This patch solves this issue by using a union. I also attach a migrate source plugin test for
ParagraphsType.Comment #11
huzookaPlease ignore #10.
Comment #12
huzooka..and ignore #11.
Comment #13
huzookaFixing CS + update test added in #7 (compatibility with current HEAD).