Problem/Motivation

We need to be able to migrate video fields from Drupal 7 to Drupal 8. I checked the issue queue and there were no issues/patches.

Proposed resolution

Write migration integration.

Remaining tasks

- Patch
- Test
- Commit

User interface changes

None

API changes

None

Data model changes

None

Comments

hussainweb created an issue. See original summary.

hussainweb’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Initial patch. This works when migrating fields, formatter, and widgets. There was a column named thumbnail earlier but can't find anything in the new schema. There is a data column but I am not sure how to store thumbnail's fid in there. Any tips?

hussainweb’s picture

StatusFileSize
new1.13 KB

Moved the file to correct location.

hussainweb’s picture

StatusFileSize
new1.16 KB

The migrations worked but it was migrating as a file field rather than video. That was because of a method in FileField which I was extending. I re-evaluated the approach and see that I don't need to extend that class as I am overriding almost every method. This patch works as expected and migrates to a video field.

hypertext200’s picture

Status: Needs review » Fixed

This has been pushed to dev. Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.