Legacy code in the Source plugin

Created on 11 May 2023, over 1 year ago
Updated 15 April 2024, 7 months ago

Problem/Motivation

Running migrations from webform 7.x-4.25 to 6.1.4

postImport()

is throwing errors. Looks like the code is trying to create a webform field on a node but weborms have their own entity type for a while and the code is not doing anything useful currently. Not sure if there are any implications for older webform versions.

Steps to reproduce

Running a webform migration should throw and error regarding trying to create a field and failing.
Attempt to create a field without a field_name

Proposed resolution

Remove

postImport()

in Drupal\webform_migrate\Plugin\migrate\source\d7\D7Webform.php

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΈSerbia thenchev

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

Comments & Activities

Production build 0.71.5 2024