View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
15549Bug reportsAssessmentspublic2021-11-01 11:20
Reporterholch Assigned Togalads  
PrioritynoneSeveritypartial_block 
Status acknowledgedResolutionopen 
Product Version3.19.3 
Summary15549: Assessment value of Multiple Choice question equals 'Y' instead of the value given
Description

https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/119618-how-to-save-assessment-final-score-of-multiple-choice-question

In the forum someone wanted to use assessment values with a multiple choice question. Funnily enough, there are no individual assessment values for each subquestion of a multipe choice question, but only a general value that can be applied to all of the subquestions only. But that is a different topic.

When using expression manager, QuestionCode_SubquestionCode.value returns "Y" instead of "3" as it should in the example in the forum. See attached LSS file.

In my opinion. QuestionCode_SubquestionCode should return "Y" or nothing, but QuestionCode_SubquestionCode.value should return the applied assessment value from the question options.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)LimeSurvey Version 3.19.3+191023
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionNA
Server OS (if known)NA
Webserver software & version (if known)NA
PHP VersionNA

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2019-11-09 11:32

developer   ~54490

In my opinion. QuestionCode_SubquestionCode should return "Y" or nothing, but QuestionCode_SubquestionCode.value should return the applied assessment value from the question options.

Only if QuestionCode_SubquestionCode is nbot empty :), else must return 0.

holch

holch

2019-11-12 13:42

reporter   ~54544

Ignore the LSQ file, here is the complete test file from the forum.

And Denis is right: here QuestionCode_SubquestionCode.value in the multiple choice question should return either "3" if subquestion is ticked and "0" or be empty if not ticked.

ollehar

ollehar

2021-03-10 22:24

administrator   ~63193

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

holch

holch

2021-03-10 23:16

reporter   ~63246

That is also a way to reduce the number of open bugs, I guess...

Issue History

Date Modified Username Field Change
2019-11-08 22:00 holch New Issue
2019-11-08 22:00 holch File Added: limesurvey_question_5195 (1).lsq
2019-11-09 11:32 DenisChenu Note Added: 54490
2019-11-12 13:42 holch File Added: limesurvey_survey_425877 (1).lss
2019-11-12 13:42 holch Note Added: 54544
2019-11-14 22:01 cdorin Assigned To => cdorin
2019-11-14 22:01 cdorin Status new => assigned
2021-02-08 19:16 cdorin Assigned To cdorin =>
2021-02-08 19:16 cdorin Status assigned => acknowledged
2021-02-08 19:16 cdorin Description Updated
2021-03-10 22:24 ollehar Status acknowledged => feedback
2021-03-10 22:24 ollehar Note Added: 63193
2021-03-10 23:16 holch Note Added: 63246
2021-03-10 23:16 holch Status feedback => new
2021-11-01 11:20 galads Assigned To => galads
2021-11-01 11:20 galads Status new => acknowledged