Problem/Motivation

When attempting to view the translated copy for config items, a Drupal database error regarding a missing table occurs. This only occurs when entitycache module is enabled.

The error received is:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'REDACTED.cache_entity_config' doesn't exist: DELETE FROM {cache_entity_config} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 854 ) in cache_clear_all() (line 167 of /var/www/REDACTED/includes/cache.inc).

Proposed resolution

Modify lingotek.page.inc to check for table existence before clearing cache.
http://cgit.drupalcode.org/lingotek/tree/lingotek.page.inc?h=7.x-7.x#n653

Remaining tasks

User interface changes

API changes

Data model changes

Comments

dasginganinja created an issue. See original summary.

dasginganinja’s picture

Version: 7.x-7.02 » 7.x-7.x-dev
Status: Active » Needs review
StatusFileSize
new704 bytes
smithworx’s picture

Assigned: Unassigned » jbhovik

  • jbhovik committed fd080d3 on 7.x-7.x
    Issue #2588781 by dasginganinja, jbhovik: Database error received when...
jbhovik’s picture

Thanks for your time with this, dasginganinja. Thanks for making the module better.

jbhovik’s picture

Status: Needs review » Fixed

  • jbhovik committed 26b509a on 7.x-7.x authored by dasginganinja
    Issue #2588781 by dasginganinja, jbhovik: Database error received when...

Status: Fixed » Closed (fixed)

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