Closed (fixed)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 15:01 UTC
Updated:
18 Feb 2008 at 01:02 UTC
By using a small hack to find translations made after the locale module init I found something in the location_views module. On line 9 following t function is called:
define('LOCATION_VIEWS_UNKNOWN', t('unknown'));
This is not done right, and when I removed it, and replaced LOCATION_VIEWS_UNKNOWN with t('unknown') in the file, it had an enormous performace impact on my site. It actually started when I turned on devel module and found a strange cache_set call. It actually tried to cache all the translated strings in location_views module, but this call is now gone.
Comments
Comment #1
mnlund commentedBumping this.
It's not fixed, and the bug is causing lots of extra db calls.
Comment #2
bdragon commentedFixed in HEAD, thanks.
(Grr, I need to investigate a better way of doing this.. A placeholder unknown and a theme function, maybe?... Hmm...)
Comment #3
bdragon commentedhttp://drupal.org/node/154223 marked duplicate.
Updating title.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.