"media_file_copy" not filling in the field_media_document_display field

Created on 22 December 2020, over 3 years ago
Updated 17 June 2023, about 1 year ago

Problem/Motivation

Although i have the Files displayed by default set as true and when i manually add one it defaults to 1 , when i use the step one process it put s a null there . Since it has a null the next time a user tries to change the name it doesnt work.

Steps to reproduce

this is my code in step 1. where can i add something to make it fill in the "field_media_document_display_field" as a 1 ?

field_media_document/title: title
  field_media_document/target_id:
      plugin: media_file_copy
      move: FALSE
      reuse: TRUE
      path: 'public://grants/'
      source: file_path<h3 id="summary-proposed-resolution">Proposed resolution</h3>

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dianacastillo Miami

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.

  • πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

    Hi @dianacastillo Similar to
    field_media_document/target_id you can use the following:
    field_media_document/display: 1

    Also, it looks like the issue is outdated atm.

Production build 0.69.0 2024