Support Migration of D7 sites with Conditional Fields settings to D8/9/10

Created on 5 March 2021, over 3 years ago
Updated 6 March 2024, 7 months ago

I'm currently migrating a D7 site to D8. Everything migrated perfectly except my `Conditional Fields`. I have both D7 and D8 Conditional Fields modules installed and enabled.

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Sseto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

    This has worked fine for the past ~year, but now a particular customer run into a new edge case that was not yet covered by the migration in #2.

    Note that this customer's Drupal 7 site was on schema version 7002. The migration code is running on PHP 7.4.

    The problem this customer ran into … is what #15 and #16 also reported. I've updated the patch to handle this, now it works fine again πŸ‘

    I don't want to deal with the update from alpha1 to alpha2 right now, so this patch is still relative to alpha1, just like #2 and #12 were.

  • πŸ‡ΊπŸ‡ΈUnited States camoa

    Working on this with A customer,

    the line:

    $config[$id]['settings']['value_form'][0]['value'] = str_replace("\r", '', $options['value_form'][0]['value']);

    gives an error:

    [critical] Migration failed with source plugin exception: Cannot access offset of type string on string in /mnt/www/html/txhhsinternalmigrate6/docroot/modules/contrib/conditional_fields/conditional_fields.module

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 8.0 & MySQL 5.7
    last update over 1 year ago
    Patch Failed to Apply
  • πŸ‡­πŸ‡ΊHungary fox mulder

    I tried to fix this error ✨ Migrate D7 Conditional Fields to D8 Needs review in Wim Leers patch ✨ Migrate D7 Conditional Fields to D8 Needs review

  • πŸ‡ΈπŸ‡ͺSweden arne_hortell

    The patch does not work for 4.0.alpha3 or dev.
    I cant migrate the conditional settings in my D9.5.8 version from my D7.98
    Any ideas for solution?

  • πŸ‡«πŸ‡·France dqd London | N.Y.C | Paris | Hamburg | Berlin

    #20 Please read the comment before yours and test with 4.0.0-alpha1 - You can update CF later after the migration.

  • Status changed to Needs work 7 months ago
  • πŸ‡«πŸ‡·France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Awesome work in here! +1 Thanks for the reports and the patches rolling and rolling. Very much appreciated. You rock!

    Can somebody involved please re-roll against latest 4.x dev asap? I plan beta1 release end of this week and final 4.0 release is around the corner. And EOL of Drupal 7 is in Jan. coming year. I would love to commit the awesome work made in here any next time soon.

Production build 0.71.5 2024