Problem/Motivation

While saving any other media type , getting error Drupal\Core\Entity\EntityStorageException: Field is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).<

Steps to reproduce

Try to save any other existing /new media in a Drupal project where keepeek module is installed.

Proposed resolution

Verify if the json field exists rather than directly fetching the value of json in keepeek_media_update() and keepeek_media_delete().

Issue fork keepeek-3547047

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

somoshri created an issue. See original summary.

somoshri’s picture

Title: While saving any other media type , getting error Drupal\Core\Entity\EntityStorageException: Field is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). » Drupal\Core\Entity\EntityStorageException: Field is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php) when saving a media
Issue summary: View changes
somoshri’s picture

Title: Drupal\Core\Entity\EntityStorageException: Field is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php) when saving a media » Drupal\Core\Entity\EntityStorageException: Field is unknown error when saving any media other than Keepeek

somoshri’s picture

Status: Active » Needs review
keepeek_dam’s picture

Status: Needs review » Fixed

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

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

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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