View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16441Bug reportsPrint Viewpublic2021-04-22 16:40
Reporterfajardas Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version4.3.2 
Summary16441: Problem in field type = List (Dropdown),
Description

in Print answers:

field type = List (Dropdown),
field type=List (radio),

the answers do not appear, in the export to pdf.

examples in files above.

TagsNo tags attached.
Attached Files
test-866869.pdf (86,405 bytes)
Screenshot_2020-06-30 test.png (13,531 bytes)   
Screenshot_2020-06-30 test.png (13,531 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)4.3.2+200629
I will donate to the project if issue is resolvedNo
Browser83.0.4103.116
Database type & versionMariaDB 10.4.13
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP 7.4.6

Relationships

related to 16447 feedbackgabrieljenik print answers and print-answers-PDF : question type "list (L)" shows answer code instead of answer text and need some attention 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-06-30 17:32

developer   ~58593

It's an included theme ?

fajardas

fajardas

2020-07-01 09:37

reporter   ~58604

Last edited: 2020-07-29 23:06

It's a customized theme, is a "LimeSurvey Fruity Theme Extension",

i test with core theme "LimeSurvey Fruity Theme" and the results are different, the code of an answer appear but the value dont, see files below.

Screenshot_2020-07-01 test.png (23,714 bytes)   
Screenshot_2020-07-01 test.png (23,714 bytes)   
test-866869-2.pdf (88,372 bytes)

user225042

2020-07-07 14:08

  ~58740

Last edited: 2020-07-29 23:06

Issue seems to exist. Moving to Confirmed

gabrieljenik

gabrieljenik

2020-08-10 19:04

manager   ~59399

The language attributes for the answer options were not retrieved.
Merged the answer attributes with the corresponding answerl10ns attributes in getQuestionArray (SurveyDynamic.php).

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

user225042

2020-08-12 15:45

  ~59446

Tested the issue before pulling the PR, Issue exist. Tested the issue after pulling the PR, issue is not fixed below are my findings:
Answer option is displayed first than code only for third option
Please refer the attachment for more details,

16441_AFterPR.png (60,981 bytes)   
16441_AFterPR.png (60,981 bytes)   
test-866869 (1).pdf (87,386 bytes)

user225042

2020-08-24 10:46

  ~59580

As per the discussion the answer options appear on the PDF now, the above mentioned issue will be solved later as it exists in LS3 as well

gabrieljenik

gabrieljenik

2020-08-24 11:32

manager   ~59581

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30413

gabrieljenik

gabrieljenik

2020-09-16 17:40

manager   ~59851

This is laready fixed, tested and is pending to be merged.
https://github.com/LimeSurvey/LimeSurvey/pull/1545

Related Changesets

LimeSurvey: master 67db44ac

2020-08-10 21:01

gabrieljenik


Details Diff
Fixed answer 16441: Problem in field type = List (Dropdown),

The language attributes for the answer options were not retrieved.
Merged the answer attributes with the corresponding answerl10ns attributes in getQuestionArray (SurveyDynamic.php).
Affected Issues
16441
mod - application/models/SurveyDynamic.php Diff File

LimeSurvey: master 723e507a

2020-08-24 13:32

ollehar1

Committer: GitHub


Details Diff
Fixed answer 16441: Problem in field type = List (Dropdown) Affected Issues
16441
mod - application/models/SurveyDynamic.php Diff File

Issue History

Date Modified Username Field Change
2020-06-30 17:28 fajardas New Issue
2020-06-30 17:28 fajardas File Added: test-866869.pdf
2020-06-30 17:28 fajardas File Added: Screenshot_2020-06-30 test.png
2020-06-30 17:28 fajardas File Added: limesurvey_survey_866869.lss
2020-06-30 17:32 DenisChenu Note Added: 58593
2020-07-01 09:37 fajardas Note Added: 58604
2020-07-01 09:37 fajardas File Added: Screenshot_2020-07-01 test.png
2020-07-01 09:37 fajardas File Added: test-866869-2.pdf
2020-07-07 14:08 user225042 Note Added: 58740
2020-07-07 14:08 user225042 Note Edited: 58740
2020-07-07 14:09 user225042 Note Edited: 58740
2020-07-07 14:09 user225042 Status new => confirmed
2020-07-07 14:09 user225042 Description Updated
2020-07-07 16:20 user225042 Relationship added related to 16447
2020-07-29 23:06 cdorin Zoho Sprints => |Yes|
2020-07-29 23:06 swendrich Zoho Sprints ID => 14469000000197121
2020-08-10 19:04 gabrieljenik Note Added: 59399
2020-08-12 15:45 user225042 Note Added: 59446
2020-08-12 15:45 user225042 File Added: 16441_AFterPR.png
2020-08-12 15:45 user225042 File Added: test-866869 (1).pdf
2020-08-24 10:46 user225042 Note Added: 59580
2020-08-24 11:32 ollehar1 Changeset attached => LimeSurvey master 723e507a
2020-08-24 11:32 gabrieljenik Changeset attached => LimeSurvey master 67db44ac
2020-08-24 11:32 gabrieljenik Note Added: 59581
2020-08-24 11:32 gabrieljenik Assigned To => gabrieljenik
2020-08-24 11:32 gabrieljenik Resolution open => fixed
2020-09-16 17:40 gabrieljenik Note Added: 59851
2021-04-22 16:40 gabrieljenik Status confirmed => closed