Allow to migrate the default_image of the image field

Created on 5 June 2023, about 1 year ago

Problem/Motivation

At the moment if the image field uses the default_image option we need to set it manually to the media field setting.
But if you use a certain image only as a default and do not use it in the entity field, it won't be migrated. It means that we can't set the same default image to the media field because it wasn't migrated.

Steps to reproduce

  • Set a new image as a default one (and don't use it as a field value).
  • Migrate image fields to the media images via the module.
  • Configure the default image for the media.
  • Expected: we should be able to select the same image
  • Actual: we can't find the same image in the media library cuz it wasn't migrated

Proposed resolution

Allow migrating the default image of the field into the media entity.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

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

Comments & Activities

Production build 0.69.0 2024