Problem/Motivation

Your update hook is broken. This is needed to ensure field types and typed data are known for the new fields. Otherwise it crashes with

  The "acquia_dam_asset:archive" plugin does not exist. Valid plugin IDs for   
  Drupal\media\MediaSourceManager are: acquia_dam_asset:image, acquia_dam_ass  
  et:spinset, acquia_dam_asset:video, acquia_dam_asset:audio, acquia_dam_asse  
  t:generic, acquia_dam_asset:pdf, acquia_dam_asset:documents, image, oembed:  
  video, video_file, audio_file, file  

So add

  \Drupal::service('plugin.manager.field.field_type')->clearCachedDefinitions();
  \Drupal::service('typed_data_manager')->clearCachedDefinitions();

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork acquia_dam-3555265

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:

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Issue summary: View changes

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

rajeshreeputra’s picture

Status: Active » Needs review
rajeshreeputra’s picture

amangrover90’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.