Media not properly added using widget

Created on 20 November 2024, about 13 hours ago

Problem/Motivation

When I create a node and add a media type, e.g. document, it is added but not properly displayed. Only by editing the media the content can be displayed.

Steps to reproduce

- Add content, e.g. article, with a media field.
- Choose Add media.
- Choose a file to be added as document.
- The document icon is displayed. Clicking on it, does not display the document.
- Edit the media and click on save without altering anything else. The media is displayed.

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.3

Component

media system

Created by

🇳🇱Netherlands edvanleeuwen Waalwijk

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

Comments & Activities

  • Issue created by @edvanleeuwen
  • 🇳🇱Netherlands edvanleeuwen Waalwijk

    The field field_media_document_display in the media__field_document_media is NULL when added. Despite the settings to display the media by default.

    Resaving the media solves this when the Display file box is checked.

  • I tried to follow the steps to reproduce and although I think I am close, I don't fully understand the steps, or what is the expected behavior. Enhanced steps to reproduce, screen shots, or even a short video may explain more fully this bug.

  • 🇳🇿New Zealand quietone

    Changing status due to comment #3 which is asking for more details.

    Also, Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.

  • 🇳🇱Netherlands edvanleeuwen Waalwijk

    Zipped video added. Hope this helps.

Production build 0.71.5 2024