Active
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2009 at 16:09 UTC
Updated:
20 Dec 2009 at 16:09 UTC
The issue cockpit block is completely cached including strings and therefore, it's not ok for i18n enabled websites.
There are two possible solutions:
Either use the language iso code in the cache id (line 1734 in project_issue.module):
if (module_exists('locale')) {
global $language;
$cid = $language->language;
}
$cid = 'project_issue_cockpit_block:' . $cid . $node->nid;
But a better solution would be to cache the variables only which are used in the template, as a serialized array.