View Issue Details

IDProjectCategoryView StatusLast Update
14265Bug reports[All Projects] Statisticspublic2019-07-15 11:41
ReporterjarlbugAssigned Tocdorin 
PrioritynoneSeveritymajor 
Status assignedResolutionopen 
Product Version3.13.x 
Target VersionFixed in Version 
Summary14265: Caching id algorithm does not take into account chart label options on stats
Description

If you run a stat to PDF with charts it generates PNG files for the charts using the options selected for Graph Labels.

If you rerun the stat for the survey but change the "Graph Labels" option for instance to add in the question text the image files used are the ones generated previously because the caching id algorithm does not take this change into account.

Steps To Reproduce
  1. Produce a PDF with charts using the default option.
  2. Go back and rerun the PDF with charts but this time select a different option for the charts.

The PDF will still use the old PNGs and thus the the charts will be wrong.

Additional Information

You can clear the /tmp/*.png files and it will fix it.
Possibly affects other instances where cached files are used.
Setting debug to 2 fixes but because it disables caching.

Could lead to bad errors in output.

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.14.8+180829
I will donate to the project if issue is resolvedNo
BrowserChrome/IE11
Database & DB-VersionMS SQL 2008 R2
Server OS (if known)Windows 10 and 7 + Server 2016
Webserver software & version (if known)IIS
PHP Version4.5

Issue History

Date Modified Username Field Change
2018-11-20 12:08 jarlbug New Issue
2018-11-20 13:55 jarlbug Note Added: 49707
2019-01-10 16:42 LouisGac Assigned To => dominikvitt
2019-01-10 16:42 LouisGac Status new => assigned
2019-07-15 11:41 dominikvitt Assigned To dominikvitt => cdorin