EntityMalformedException: Missing bundle property

Created on 13 February 2023, almost 2 years ago
Updated 29 June 2023, over 1 year ago

Problem/Motivation

$info['entity keys']['bundle'] is expecting 'type' instead of 'bundle'. It could be just my case but I've attached a patch in case anybody else has same issue.

    if($type == 'taxonomy_term'){
      $entity_to_save->vocabulary_machine_name = $bundle;
    } else {
      $entity_to_save->type = $bundle;
    }
🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom lexsoft London

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

Comments & Activities

Production build 0.71.5 2024