Text formats that are migrated from D6 to D7 to D8 get a numerical ID instead of a sensible name

Created on 19 November 2019, over 5 years ago
Updated 6 June 2024, 9 months ago

Problem/Motivation

It's not the name column in the Drupal 7 filter_format database table that determines the ID of the FilterFormat config entity, but the format column, which is an auto-incrementing integer.

Consequence: this makes any future debugging on your Drupal 8 site a pain, because rather than sensible formats such as basic_html or markdown_all_html_allowed, you get 3 or 7 as text format IDs.

Proposed resolution

Use the name column in the D7 table and apply the "machine name" algorithm to it to generate a sensible name.

Remaining tasks

TBD

User interface changes

N/A

API changes

N/A

Data model changes

More sensible D8 destination data model.

Release notes snippet

TBD

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated 31 minutes ago

Created by

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

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.

Production build 0.71.5 2024