[Vtigercrm-commits] [vtiger development] #1482: Dashboard charts do not refresh when browser caching is on

vtiger development vtiger-tickets at vtiger.fosslabs.com
Tue Jul 11 16:28:02 EDT 2006


#1482: Dashboard charts do not refresh when browser caching is on
-----------------------+----------------------------------------------------
 Reporter:  nokes      |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  trivial    |   Milestone:  4.2.5    
Component:  vtigercrm  |     Version:           
 Keywords:             |  
-----------------------+----------------------------------------------------
 When a browser's cache is enabled, it may not fetch the newly-generated
 version of the  dashboard chart images.

 This can be fixed by changing one line in each of
 /Modules/Dashboard/Chart_*

 such that the lines that look like:


 {{{
 $cache_file_name = $id_hash."_pipeline_".$current_language. ... .".png";
 }}}

 become...

 {{{
 $cache_file_name = $id_hash."_pipeline_".$current_language. ...
 .time().".png";
 }}}

 ...thus ensuring that the generated image always has a different filename

-- 
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/1482>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM


More information about the vtigercrm-commits mailing list