View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
15760Bug reportsExpression Managerpublic2021-02-17 16:25
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status acknowledgedResolutionopen 
Product Version4.0.x 
Summary15760: Subquestions condition happen only for last line
Description

When you have an array filter (or subquestions condition) :
When loading the survey for the 1st time : only last line are hidden

Steps To Reproduce

Import included survey
Preview survey : you see 3 lines
Check 1st item : still 3 lines
Uncheck 1st item : 1st line in 2nd question are hidden
Check ALL item on 1st question
Uncheck ALL items on 1st question
=> All questions are hidde

Additional Information

Happen in 3.21.6, happen in current LimeQuery

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)4.0.1 github
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionmariafb mssql
Server OS (if known)Windows 10 / fedora linux
Webserver software & version (if known)nginx and IIS
PHP Versionphp7.3 and 7.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-01-23 18:58

developer   ~55446

Since it happen for limequery and can broke public survey …

DenisChenu

DenisChenu

2020-01-23 19:07

developer   ~55447

Last edited: 2020-12-29 18:27

Move to minor …

Error is default value to number :)

DenisChenu

DenisChenu

2020-07-10 07:59

developer   ~58891

Last edited: 2020-12-29 18:27

@cdorin : assigned to nobody ?

cdorin

cdorin

2020-12-29 18:27

reporter   ~61296

Last edited: 2020-12-29 18:27

To be solved in both LTS and LS4

gabrieljenik

gabrieljenik

2021-02-12 16:56

manager   ~62226

I have it

DenisChenu

DenisChenu

2021-02-12 17:19

developer   ~62227

@gabrieljenik

Important part is :

Error is default value to number :)

gabrieljenik

gabrieljenik

2021-02-17 15:47

manager   ~62311

This seems in the survey built.

The problem is that the first 3 items have a default value and the last one doesn;t.
That default value is cought by the EM and the initial relevance is calculated from it.

The strange situation is that the default value is a number, while Y is expected
That makes EM to consider the numeric value for the relevance calcualtion.
Still, when having to mark the question as checked, numeric is not good enough, as Y is expected.

@DenisChenu how did you got to a number as default value there?

I believe there is nothing to fix

DenisChenu

DenisChenu

2021-02-17 15:56

developer   ~62313

The strange situation is that the default value is a number, while Y is expected

Yes : it can happen when change a question type, but maybe not now ?

See https://bugs.limesurvey.org/view.php?id=15760#c55447

Else : i still like to allow any expression for single choice too in default value (need GUI update). Then when we fix GUI : we have such issue.

Move to Acknowledged ?

Issue History

Date Modified Username Field Change
2020-01-23 18:57 DenisChenu New Issue
2020-01-23 18:57 DenisChenu File Added: limesurvey_survey_arrayFilterBroken.lss
2020-01-23 18:57 DenisChenu Assigned To => cdorin
2020-01-23 18:57 DenisChenu Status new => assigned
2020-01-23 18:58 DenisChenu Note Added: 55446
2020-01-23 19:07 DenisChenu Assigned To cdorin =>
2020-01-23 19:07 DenisChenu Status assigned => new
2020-01-23 19:07 DenisChenu Note Added: 55447
2020-01-23 19:07 DenisChenu Severity partial_block => minor
2020-03-18 19:44 cdorin Assigned To => cdorin
2020-03-18 19:44 cdorin Status new => assigned
2020-07-10 00:34 cdorin Assigned To cdorin =>
2020-07-10 07:59 DenisChenu Note Added: 58891
2020-12-29 18:27 cdorin Priority none => normal
2020-12-29 18:27 cdorin Status assigned => confirmed
2020-12-29 18:27 cdorin Sync to Zoho Project => |Yes|
2020-12-29 18:27 cdorin Note Added: 61296
2021-02-12 16:56 gabrieljenik Note Added: 62226
2021-02-12 17:19 DenisChenu Note Added: 62227
2021-02-17 15:47 gabrieljenik Note Added: 62311
2021-02-17 15:56 DenisChenu Note Added: 62313
2021-02-17 16:25 c_schmitz Assigned To => c_schmitz
2021-02-17 16:25 c_schmitz Status confirmed => acknowledged