After exposing media image's name field and translating it, it gets overwritten by the default field mapping.

Created on 24 September 2019, almost 5 years ago
Updated 9 September 2023, 10 months ago

Problem/Motivation

After exposing media image's name field and translating it, it gets overwritten by the default field mapping.
(Removing the default field mapping for the Name field, resolves this issue)

Steps to reproduce:

  • (optional) Setup Drupal using Umami installation
  • Exposed the title (Name) of image media.
  • Enabled translation for image media.
  • Add an image and give it a title.
  • Clicked on 'translate', and translate both title and alternative text.
  • The title does not get translated :(

Because of default field mapping of the Name field, it overwrites manual changes.

Translating the image:

After translation it keeps the filename as its Name instead of getting the new translation

Proposed resolution

When name of image is manually entered, it shouldn't get overwritten by field mapping.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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.

Production build 0.69.0 2024