Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
GatherContents allows templates to have repeatable text fields. It is currently possible to map them to repeatable text fields in drupal, but the content migration fails.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | 3357051-6.patch | 2.33 KB | mathilde_dumond |
#3 | 3357051-3.patch | 2.33 KB | mathilde_dumond |
#2 | 3357051-repeatable-text-fields.patch | 1.46 KB | mathilde_dumond |
Comments
Comment #2
mathilde_dumond CreditAttribution: mathilde_dumond at MD Systems GmbH for GatherContent commentedUploading a patch that fixes the problem, I intend to extend it with test coverage.
Comment #3
mathilde_dumond CreditAttribution: mathilde_dumond at MD Systems GmbH for GatherContent commentedAdded a check + log in case the module is confused and tries to fetch deleted content.
Comment #4
Berdirmissing space after =>
The entity check is strictly speaking not related but fine to have that in here as well.
Comment #5
BerdirComment #6
mathilde_dumond CreditAttribution: mathilde_dumond at MD Systems GmbH for GatherContent commentedthanks @berdir, fixed that
Comment #7
JennyDumitrescu CreditAttribution: JennyDumitrescu commentedHi @mathilde_dumond, I've checked the patch in #6 on our dummy site and it works fine pulling in plain text fields.
Is this supposed to also work with plain fields in paragraph fields too? Or will that be separate functionality? We have the ability to map fields into them, but they're not bringing in any content. Thanks!
Comment #8
BerdirI assume you mean mapping a repeatable component to paragraphs? that is not yet supported unfortunately, we are looking into it, but it's much more complicated than this. But we are in contact with GatherContent about it and will open a separate issue once we have a plan.
Comment #9
BerdirCommitted.