View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16756Bug reportsConditionspublic2021-02-08 17:26
Reporterbrais24 Assigned Togabrieljenik  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version3.24.2 
Summary16756: Error with SUM on array text
Description

Well, its simple, if you have 2 questions, (Q1 and Q2 for example) both of them have 4 subquestions and Q2 is an array text with sum by column and numbers only and the Q2 is filtered by Q1, I mean, if on Q1 you dont select subquestion 1, on Q2 don should appear, well, if you do that and on the Q2 the first row dont appear, the array matrix dont make a sum, just show 0 on the total.

Steps To Reproduce

Create 2 questions, Q1 and Q2, Q2 is the array text just numbers and sum by column and filtered by Q1, if the first row dont appear on Q2, the sum dont work, show always 0.

TagsNo tags attached.
Attached Files
sumbad.PNG (19,339 bytes)   
sumbad.PNG (19,339 bytes)   
sumgood.PNG (20,695 bytes)   
sumgood.PNG (20,695 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)Versión 2.72.3+171020
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMariaDB
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP Version 7.2.33

Relationships

related to 16934 closedgabrieljenik Error with Sum in array texts 
related to 17041 closedgabrieljenik Error with SUM on array text 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-10-19 15:30

developer   ~60268

The lss file for reproducibility

Forum post : https://forums.limesurvey.org/forum/can-i-do-this-with-limesurvey/122606-sum-with-array-text

cdorin

cdorin

2020-12-30 17:53

reporter   ~61331

bug exists in LS4 as well. Will now create a report.

gabrieljenik

gabrieljenik

2021-02-01 14:22

manager   ~61840

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1737

gabrieljenik

gabrieljenik

2021-02-04 13:26

manager   ~61939

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30989

lime_release_bot

lime_release_bot

2021-02-08 17:26

administrator   ~62030

Fixed in Release 3.25.11+210210

Related Changesets

LimeSurvey: 3.x-LTS 321bde5b

2021-02-04 13:11:04

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 16756: Error with SUM on array text (#1737)

Updating calculations on relevance
Affected Issues
16756
mod - assets/packages/questions/arraynumeric/scripts/array-totalsum.js Diff File
mod - assets/packages/questions/arraynumeric/scripts/array-totalsum.min.js Diff File

Issue History

Date Modified Username Field Change
2020-10-19 15:20 brais24 New Issue
2020-10-19 15:20 brais24 File Added: sumbad.PNG
2020-10-19 15:20 brais24 File Added: sumgood.PNG
2020-10-19 15:30 DenisChenu Note Added: 60268
2020-10-19 15:30 DenisChenu File Added: limesurvey_survey_testeo.lss
2020-12-30 17:48 cdorin Priority none => normal
2020-12-30 17:48 cdorin Status new => confirmed
2020-12-30 17:48 cdorin Sync to Zoho Project => |Yes|
2020-12-30 17:53 cdorin Note Added: 61331
2020-12-30 17:54 cdorin Relationship added related to 16934
2021-02-01 14:07 gabrieljenik Issue cloned: 17041
2021-02-01 14:07 gabrieljenik Relationship added related to 17041
2021-02-01 14:22 gabrieljenik Note Added: 61840
2021-02-04 13:26 gabrieljenik Changeset attached => LimeSurvey 3.x-LTS 321bde5b
2021-02-04 13:26 gabrieljenik Note Added: 61939
2021-02-04 13:26 gabrieljenik Assigned To => gabrieljenik
2021-02-04 13:26 gabrieljenik Resolution open => fixed
2021-02-08 17:26 lime_release_bot Sync to Zoho Project Yes => |Yes|
2021-02-08 17:26 lime_release_bot Note Added: 62030
2021-02-08 17:26 lime_release_bot Status confirmed => closed