Can't save captions after D7 -> D9 migration

Created on 2 August 2022, over 3 years ago
Updated 4 August 2025, 3 months ago

Problem/Motivation

I'm working with a D9 site that was migrated from D7 six months ago. I hadn't noticed at launch of the D9 site that the image field captions were missing. My first thought was that there is no migration plugin for image field captions. However, I see two things that make me question what's happening:

  1. There is a table called `field_image_field_caption` in D9 that seems to contain all the captions from the D7 site. (Not sure if there's a migration plugin that might have brought this over from D7.)
  2. After enabling the image_field_caption module, I now have an empty table `image_field_caption`. But when I attempt to save a node having images with captions, the captions aren't saved,

Is it possible that the `field_image_field_caption` table was created due to a default plugin in the image field migration? Recreating those rows in the correct table should be easy enough after the fact; we don't have very many captions.

But I need to solve the issue that's preventing saving captions when editing a node. Is there something about my apparently faulty migration that would prevent captions from saving in D9?

πŸ› Bug report
Status

Closed: outdated

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mkindred

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.

  • Thanks for the report. This issue refers to an outdated version of the module (8.x-1.2), which is no longer supported. The 4.0.x release includes significant changes, and this problem may already be resolved.

    Please check if the issue still occurs with the latest version (4.0.0-beta1). If it does, feel free to update this issue or open a new one with details.

Production build 0.71.5 2024