- 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.
Can you reproduce this on a default Drupal install? Use https://simplytest.me to build a test site if necessary.
- 🇳🇱Netherlands edvanleeuwen Waalwijk
I think I have determined where the problem is. If I have the option enabled to display the file, there is not an option to change that during the process of inserting a document via the widget.
When I disable the option, the files are displayed.
So I assume the default option is not taken into account when inserting a file through the widget.