When the comment module is not installed and a stream is requested a PDOException occurs.

Steps to replicate problem:

  1. Install Drupal with the minimal install profile.
  2. drush dl ctools heartbeat-7.x-1.x
  3. drush en heartbeat_defaults -y
  4. navigate to /user/1/useractivity

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.comment' doesn't exist

This can be solved by checking if the comments module is enabled before joining the `comment` table in HeartbeatStream::createQuery().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pfrenssen’s picture

Status: Active » Needs review
FileSize
1.04 KB
Stalski’s picture

Status: Needs review » Fixed

This is fixed and pushed to git.

Status: Fixed » Closed (fixed)

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