View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14265Bug reportsStatisticspublic2021-09-09 08:44
Reporterjarlbug Assigned Togalads  
PrioritynoneSeveritypartial_block 
Status confirmedResolutionopen 
Product Version3.13.x 
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.
Bug heat4
Complete LimeSurvey version number (& build)Version 3.14.8+180829
I will donate to the project if issue is resolvedNo
BrowserChrome/IE11
Database type & versionMS SQL 2008 R2
Server OS (if known)Windows 10 and 7 + Server 2016
Webserver software & version (if known)IIS
PHP Version4.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

jarlbug

jarlbug

2018-11-20 13:55

reporter   ~49707

https://www.limesurvey.org/forum/development/116993-bug-or-issue-with-my-install#177149

as reportted above.

ollehar

ollehar

2021-03-10 22:21

administrator   ~63186

Please update to the latest version and check if the bug can still be reproduced. Thank you.

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
2021-02-07 10:21 cdorin Assigned To cdorin =>
2021-02-07 10:21 cdorin Status assigned => acknowledged
2021-03-10 22:21 ollehar Status acknowledged => feedback
2021-03-10 22:21 ollehar Note Added: 63186
2021-09-09 08:44 galads Assigned To => galads
2021-09-09 08:44 galads Status feedback => confirmed