Heartbeat : 7.x-1.0+84-dev
Views: 7.x-3.3

If I create a view (with a page, haven't tried with a block yet) of a heatbeat activity (of any message id/type, it doesn't seem to make any difference), when I try to access the page I get the following error:

•Notice: Undefined property: stdClass::$heartbeat_activity_uaid in views_plugin_row_heartbeat_view->render() (line 112 of /var/www/drupal/sites/all/modules/heartbeat/views/views_plugin_row_heartbeat_view.inc).
•Notice: Undefined property: stdClass::$uaid in heartbeat_activity_view() (line 588 of /var/www/drupal/sites/all/modules/heartbeat/heartbeat.module).
•Notice: Undefined property: stdClass::$view_mode in heartbeat_activity_view() (line 588 of /var/www/drupal/sites/all/modules/heartbeat/heartbeat.module).
•Notice: Undefined property: stdClass::$language in heartbeat_activity_view() (line 588 of /var/www/drupal/sites/all/modules/heartbeat/heartbeat.module).
•EntityMalformedException: Missing bundle property on entity of type heartbeat_activity. in entity_extract_ids() (line 7501 of /var/www/drupal/includes/common.inc).

The error shows only when there is at least 1 heartbeat message that should be included in the view. If there isn't one, the (empty) page will load as normal. Heartbeat streams seem to be working fine, so I am not sure if this is a heartbeat bug or a views/drupal issue in general.

Any help is greatly appreciated. Thank you in advance.

Comments

Stalski’s picture

Status: Active » Fixed

This is fixed in latest dev (tomorrow). Thx for the report.

Status: Fixed » Closed (fixed)

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