Migrate field_instance_widget_settings process should handle text_textarea_with_summary

Created on 29 August 2020, almost 5 years ago
Updated 23 May 2025, 16 days ago

Problem/Motivation

The widget migration doesn't handle text_textarea_with_summary.

Steps to reproduce

Migrate a field using text_textarea_with_summary. You always end up with a migrated widget with 9 rows, which is the default value in TextareaWithSummaryWidget::defaultSettings(). This happens because we don't actually migrate this setting, and we end up using the default vlue.

Proposed resolution

Add text_textarea_with_summary, but also refactor slightly so that the defaults aren't hard coded, but rather come from the widget defaultSettings.

See also #3108302: [PP-2] Field formatter & widget settings: fall back to default if missing plugin β†’

πŸ› Bug report
Status

Postponed

Version

11.0 πŸ”₯

Component

migration system

Created by

πŸ‡ΊπŸ‡ΈUnited States douggreen Winchester, VA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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