EntityMalformedException: Missing bundle property

Created on 13 February 2023, over 1 year ago
Updated 29 June 2023, about 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.69.0 2024