View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20218Bug reportsStatisticspublic2025-08-27 18:04
ReporterMazi Assigned Totibor.pacalat  
PrioritynoneSeveritypartial_block 
Status ready for testingResolutionopen 
Product Version6.6.x 
Summary20218: PDF export of the statistics tool does not take the setting "Show text responses inline" into account
Description

When using the default statistics tool, there is a setting to define whether text responses for the "other" free text option are shown embedded as a list or are not displayed. If the setting is set to show as a list, all responses are shown inline within the statistics, see attached screenshot. If the feature is switched off, then there is a button which then displays the additional text responses.
This setting is NOT taken into account when selecting PDF as output format. In this case, it does not matter how you set this option, it always lists all the text responses inline. For surveys with many responses, these lists can be very long and can even break export as PDF if there was too much data.
The recommended fix is that the PDF option should also take the "show text responses inline" setting into account. If this is switched off, no text responses should be listed at the PDF export.

Steps To Reproduce

Steps to reproduce

  1. Import the attached survey
  2. GO to statistics, select to show all questions, set format to PDF and "Display responses inline" to OFF
  3. Check PDF

Expected result

No "other" texts should be included at the PDF

Actual result

All "Other" texts are listed at the PDF, these lists can become very long if there are many responses.
(Write here what happened instead)

TagsNo tags attached.
Attached Files
HTML Output.png (28,698 bytes)   
HTML Output.png (28,698 bytes)   
options.png (15,843 bytes)   
options.png (15,843 bytes)   
PDF Output.png (54,240 bytes)   
PDF Output.png (54,240 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)6.15.2
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL/MariaDB
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2025-08-22 14:12

updater   ~83281

@gabriel.jenik @tibor.pacalat: I am not sure if this was already added to some milestone, thus a short question: Is there any estimate of when a fix could be available?
Let me know if any help or further information is needed.

gabrieljenik

gabrieljenik

2025-08-27 17:59

manager   ~83336

https://github.com/LimeSurvey/LimeSurvey/pull/4423

Issue History

Date Modified Username Field Change
2025-08-14 10:45 Mazi New Issue
2025-08-14 10:45 Mazi File Added: survey_archive_234673.lsa
2025-08-14 10:45 Mazi File Added: Survey_234673_Test20Text%20PDF.pdf
2025-08-14 10:45 Mazi File Added: HTML Output.png
2025-08-14 10:45 Mazi File Added: options.png
2025-08-14 10:45 Mazi File Added: PDF Output.png
2025-08-14 11:20 tibor.pacalat Assigned To => gabrieljenik
2025-08-14 11:20 tibor.pacalat Status new => assigned
2025-08-22 14:12 Mazi Note Added: 83281
2025-08-22 14:12 Mazi Bug heat 0 => 2
2025-08-27 17:59 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-08-27 17:59 gabrieljenik Status assigned => ready for code review
2025-08-27 17:59 gabrieljenik Note Added: 83336
2025-08-27 17:59 gabrieljenik Bug heat 2 => 4
2025-08-27 18:04 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-08-27 18:04 DenisChenu Status ready for code review => ready for testing