Line 58 in heartbeat.streams.inc is setting the wrong key value for the array 'heartbeatPollNewerMessages'.
It is currently:

    drupal_add_js(array('heartbeatPollNewerMessages' => array($streamConfig->name => $streamConfig->poll_messages)), 'setting');

but should read

    drupal_add_js(array('heartbeatPollNewerMessages' => array($streamConfig->class => $streamConfig->poll_messages)), 'setting');

I have a feeling this is probably addressed in dev, but stable 7.x-1.0 release seems pretty far behind the dev version. You might want to look into that.

CommentFileSizeAuthor
heartbeat-jsarraykey.patch848 bytesselfsimilar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Status: Needs review » Fixed

Indeed, already fixed that

Status: Fixed » Closed (fixed)

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