Problem/Motivation
The Paragraphs's field_collection field migration plugin system currently does not map `field_collection_fields` formatter from D7 to D8/D9.
Proposed resolution
Resolution is to map `field_collection_fields` field formatter from Field collection module in D7 to Paragraphs module in D8/D9.
Remaining tasks
Patch
Review
Commit
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | paragraphs-field_formatter_mapping-3221275-6.patch | 639 bytes | tkiehne |
| #2 | paragraphs-field_formatter_mapping-3221275-2.patch | 563 bytes | n4r3n |
Comments
Comment #2
n4r3nThis patch provides
field_collection_fieldsformatter mapping.Comment #3
huzookaThis is okay!
Comment #4
tkiehne commentedCan confirm that this issue leads to an error during migration, after which the converted paragraph is not attached to the entity's view; to help out others looking for this, the error thrown during migration is:
I can also confirm that the solution proposed above works. I should point out that there is a third formatter in D7 field_collection — "field_collection_list" — so a full solution should probably include this, e.g.:
Comment #5
berdirLet's update it then.
Comment #6
tkiehne commentedRe-rolled with suggested changes
Comment #7
sclsweb commentedI'm using this patch via paragraphs_migration -- I generated a set of migrations with migrate_plus, then customized upgrade_d7_field_formatter_settings.yml with the "field_collection_list" modification described in #4-- but upgrade_d7_field_formatter_settings is still failing. Every one of the view modes that include a field collection generates this type of message:
Is this an issue with the patch, or am I doing something wrong? (And if I am doing something wrong, please point me in the right direction to fix it, because that error message is a mystery -- if I try to just continue onwards without fixing it, I get similar errors on upgrade_d7_field_instance_widget_settings, and it is all downhill from there. Really stuck.)