View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
19647Bug reportsStatisticspublic2024-07-11 18:09
Reporterlozam Assigned To 
Status confirmedResolutionopen 
Product Version6.5.x 
Summary19647: Statistics calculation error for number tables with free fields

When using tables of numbers with a text field and not a drop-down list going from 1 to 10, this poses a problem when generating statistics since the code goes from 0 to 10 maximum. If a user puts a different value not between 0 and 10, the statistics generated are therefore false.

Steps To Reproduce

Step 1 :
Create a questionnaire. Create a question group. Create a “Table (numbers)” type question. Create subquestions to create a table of 2 rows * 3 columns. Keep advanced question options as default. Duplicate this question which will serve as a reference for the bug. Modify a single advanced option (hidden menu on the right): set “text entry” to yes.

Step 2 (normal behavior):
Activate the questionnaire. Run the questionnaire. Operate the questionnaire as a respondent and enter answers between 1 and 10 3 or 4 times. Put the same answers in both questions in order to have a comparison. Edit the statistics: we will see that they are correct. This provides a baseline for normal software behavior.

Step 3 (abnormal behavior):
Duplicate the questionnaire. Run the questionnaire again, skip only in the answers with free number areas, put different numbers from 1 to 10. (For example 20, 50...). Edit the statistics: we will see that the histograms are false by omitting values ​​outside the range 1 to 10.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)CE 6.5.11+240605
I will donate to the project if issue is resolvedNo
Database type & versionMySQL5
Server OS (if known)UBUNTU 20.04
Webserver software & version (if known)
PHP VersionPHP 7.4

Users monitoring this issue





2024-07-11 18:09

administrator   ~80609

@lozam if you are referring to this screen, then you are correct (see screenshot).

Issue History

Date Modified Username Field Change
2024-07-09 08:58 lozam New Issue
2024-07-09 08:58 lozam Issue Monitored: lozam
2024-07-09 08:58 lozam Bug heat 0 => 2
2024-07-11 18:09 tibor.pacalat Note Added: 80609
2024-07-11 18:09 tibor.pacalat File Added: Screenshot 2024-07-11 at 18.07.47.png
2024-07-11 18:09 tibor.pacalat Bug heat 2 => 4
2024-07-11 18:09 tibor.pacalat Status new => confirmed