Seem to have got the file working by editing the basic wordpress_content.yml and adding the changes listed above.
Then i created another 'mysite_post_text.yml' with all the content from mysite_post_text and referenced it from wordpress_content.yml.
A paragraph is created for the imported posts - but there is no content in the paragraph.
I am using this by using the form to create a 'wordpress' migration - and have updated the standard wordpress_content.yml file.
----
Had to change 'iterator' to sub_process the result is now this;
body_text:
plugin: migration_lookup
migration: mysite_post_text
source: post_id
field_content:
plugin: sub_process
source:
- '@body_text'
process:
target_id: '0'
target_revision_id: '1'
This is the destination and process;
- my entity reference revisions field is called; field_content - same as example
- that has a paragraph type named text - same as example
- that has a field called field_text (text, formatted long) - different, that's why i have changed the name
destination:
plugin: 'entity_reference_revisions:paragraph'
default_bundle: text
process:
field_text/value:
plugin: callback
callable: trim
source: content
field_text/format:
plugin: default_value
default_value: basic_html
i assume the 'content' value is empty - but have no idea where to start looking :) Can anyone point me in the right direction?
Also seeing this Notice: don't know if it has anything todo with this issue
Notice: Undefined index: urls in Drupal\migrate_plus\Plugin\migrate\source\Url->__construct() (line 34 of /Users/maikel/Sites/soft-secrets-cms/web/modules/contrib/migrate_plus/src/Plugin/migrate/source/Url.php)
Active
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.