Add migrate path from Drupal 7

Created on 22 June 2022, over 2 years ago
Updated 31 July 2023, about 1 year ago

Problem/Motivation

There currently is no migration path from Drupal 7 to Drupal 8/9.

Steps to reproduce

N/A

Proposed resolution

Add migrate plugins to transfer Drupal 7 signature data from D7 to D8 and beyond.

Because Drupal 7 stores its signatures in Json data as well as a generated PNG image, it's not straight forward to make this transition.
The provided patch currently only works to migrate from Drupal 7 to Drupal 8 "Signature File" fields.
Because of this, this issue is dependent on the Add ability to store the signature in a PNG file instead of Data URI in the database Add ability to store the signature in a PNG file instead of Data URI in the database Fixed issue.

Remaining tasks

Provide a means to migrate to normal D8 signature fields (which store values as Data URL blobs) and provide an ability to choose which one.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada mdolnik

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.

  • 🇨🇦Canada mdolnik

    Added update to \Plugin\migrate\process\SignatureFieldProcess::transform() which provides new logic to grab an existing file entity if one already exists for a given signature file URI.

    This updated patch helps prevent situations where there could end up with multiple file entities for a given signature file.

    This situation can occur when entity revisions which contain the reference to the signature file are migrated.

Production build 0.71.5 2024