Custom fields in Drupal 7 not migrating to Drupal 10 due to text filtering error

Created on 20 December 2024, 2 days ago

Drupal version

10.3.10

PHP 8.3.13

Database engine

PostgreSQL 16.2

Problem/Motivation

I am migrating a large Drupal 7 site to Drupal 10 with custom fields in most content types.

When performing a Drush migration, three out of five custom node fields are not migrated with the following error:
d7_field:type: Can't migrate source field field_subtitle_seqnbr configured with both plain text and filtered text processing.

I have already manually set the format value field of every record in field_data_subtitle_seqnbr and field_revision_subtitle_seqnbr to 1 for "filtered HTML" but I get the same failure to migrate with the same message.

Proposed resolution

Tell me if there is some additional data field that needs to be changed so that the migration process will see all instances of these fields as having the same text filter setting.

Otherwise, I could use a patch that would allow these fields to migrate to Drupal 10.

πŸ’¬ Support request
Status

Active

Version

10.3 ✨

Component

migration system

Created by

πŸ‡ΊπŸ‡ΈUnited States seumas.gagne

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

Comments & Activities

  • Issue created by @seumas.gagne
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    @seumas.gagne, The Drupal Core issue queue is not the ideal place for support requests. For migration, you will get better responses from the migration community in the #migration channel of Drupal Slack β†’ . There are other support options listed on our support page β†’ (Community > Support at the top of Drupal.org). You may get better replies in one of those places.

  • πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

    it's not the actual data records, it's field instances, some fields have text_processing set to yes, some has set it to no, the system has no idea what to migrate to , open field ui in d7 and rectify the situation by setting all of the text procesisng yes if that's what you need.

Production build 0.71.5 2024