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()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hedley’s picture

Not 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.

hedley’s picture

Status: Active » Needs review
FileSize
924 bytes

Attached 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.

tms8707056’s picture

Having this same issue.

selfsimilar’s picture

same

Donatoo’s picture

#2 does the job for the moment

Stalski’s picture

Status: Needs review » Fixed

I added the bundle property so it works. Pushed to git.

Status: Fixed » Closed (fixed)

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