Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After filling out the form to create a new template, the following error is thrown:
EntityMalformedException: Missing bundle property on entity of type heartbeat_activity. in entity_extract_ids()
Comment | File | Size | Author |
---|---|---|---|
#2 | heartbeat-templateentityerror-1560996-2.patch | 924 bytes | hedley |
Comments
Comment #1
hedley CreditAttribution: hedley commentedNot sure what's going on here but commenting out 'field_attach_presave('heartbeat_activity', $form_state['item'])' in function edit_form_submit() in ctools_export_ui_heartbeat_template.class stops the error being thrown.
Comment #2
hedley CreditAttribution: hedley commentedAttached a patch to remove the field_attach_presave()
This could have adverse consequences assuming the field_attach_presave() is there for a good reason, removing it seems to work for me for the moment though.
Comment #3
tms8707056 CreditAttribution: tms8707056 commentedHaving this same issue.
Comment #4
selfsimilar CreditAttribution: selfsimilar commentedsame
Comment #5
Donatoo CreditAttribution: Donatoo commented#2 does the job for the moment
Comment #6
Stalski CreditAttribution: Stalski commentedI added the bundle property so it works. Pushed to git.