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.
Follow-up for #2843617: Field formatter mappings defined in getFieldFormatterMap have no effect.
We need to check that all field formatter types from Drupal 6 & 7 are correctly mapped to Drupal 8 field formatter types and that they are tested.
We also need to clean the static map in d6_field_formatter_settings
and ideally move it to the field plugins getFieldFormatterMap() methods.
Example of inconsistency between the static map and field plugins:
From the d6_field_formatter_settings:
default: email_mailto
spamspan: email_mailto
contact: email_mailto
plain: basic_string
And from the Email field plugin:
'email_formatter_default' => 'basic_string',
'email_formatter_contact' => 'basic_string',
'email_formatter_plain' => 'basic_string',
'email_formatter_spamspan' => 'basic_string',
The formatter types are not even the same and the mappings are different.
Comments
Comment #2
maxocub CreditAttribution: maxocub as a volunteer commentedComment #3
maxocub CreditAttribution: maxocub as a volunteer commentedParent issue is fixed.
Comment #10
quietone CreditAttribution: quietone as a volunteer commentedComment #11
Wim LeersThanks for pointing me to this issue!
Comment #12
quietone CreditAttribution: quietone as a volunteer commentedThe reality is that we are not searching for field formatter types that should be migrated. We have been re-actively adding them when someone files an issue and it is decided that a migration for the formatter should be handled by core. This is all on a case by case basis.
As marvil07 said at the migrate meeting, "a responsive on-demand approach sounds like the more natural path forward"
Therefor closing this, 'fixed' seems the best status. Correct me if I am wrong.