Drupal 9.4.5
PHP 8.1.9
Image Field Caption 1.2
Paragraph 8.x-1.15
Layout Paragraphs 1.0.0

I have 2 paragraphs, gallery and image. An image can add 1 image, a gallery can add multiple images. when i add an image over layout paragraphs and caption it erases the other captions.

example
- add image with caption and save
- add another image/ gallery with caption and save
- it exist now only latest caption

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HeavyStoneHead created an issue.

stefank made their first commit to this issue’s fork.

stefank’s picture

For me, when I was saving a translation, the value in the source entity has been lost. The image field is part of paragraph. Tracked it down to a sql query to get the caption with revision_id condition.
@HeavyStoneHead FYI, all of the values are stored in DB, so its worth to check if this is your case as well.
This is the first step for fixing the code, but overall it has fixed the issue for me.