Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16761Bug reportsPrint Viewpublic2020-12-16 17:19
ReporterMazi Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version3.24.2 
Summary16761: Wrong details shown at print answer overview for dual scale questions
Description

When entering details at dual scale questions there is a wrong reference at the print answers overview. The correct answer code seems to be used but the incorrect label is shown, see attached screenshots.

Steps To Reproduce

Import the attached survey and activate.
Run the survey and enter some data.
Check the print answer overview.

Additional Information

Affected file seems to be "template_array-flexible-duel-scale.twig" at /TEMPLATENAME/views/subviews/printanswers/question_types

TagsNo tags attached.
Attached Files
printanswers.png (21,063 bytes)   
printanswers.png (21,063 bytes)   
survey.png (10,955 bytes)   
survey.png (10,955 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)Version 3.24
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu 20
Webserver software & version (if known)Apache
PHP Version7.3

Relationships

parent of 16815 closedgabrieljenik LS4: Wrong details shown at print answer overview for dual scale questions 

Activities

cdorin

cdorin

2020-10-20 13:04

reporter   ~60300

Thanks for report, @Mazi . Does the issue exist in Master as well ?

Mazi

Mazi

2020-10-21 09:32

updater   ~60328

Last edited: 2020-10-21 09:38

@cdorin, looks even worse at LS4, see screenshot.

  1. Wrong references at the print layout.
  2. Wrong headings after import, for whatever reason -> filed another bug report at https://bugs.limesurvey.org/view.php?id=16768

Test link: https://ls4.mysurveyhosting.com/index.php/274518?newtest=Y

print_LS4.png (10,016 bytes)   
print_LS4.png (10,016 bytes)   
Mazi

Mazi

2020-11-02 16:35

updater   ~60498

@cdorin, can we assign this one? Should not be that difficult to fix, probably just some wrong reference to wrong variables.

cdorin

cdorin

2020-11-03 20:43

reporter   ~60522

Added to backlog.

@Mazi, could you please create a quick report for LS4 as well and assign it to me?

Thanks for testing!

Mazi

Mazi

2020-11-10 10:59

updater   ~60602

@cdorin, can you also assign this one to a developer?

Mazi

Mazi

2020-11-18 12:26

updater   ~60694

@cdorin, can you also assign this one to a developer?

gabrieljenik

gabrieljenik

2020-12-03 19:41

manager   ~60830

At SurveyDynamic::getQuestionArray() all answers, for both scales, were stored in the same array indexed by code (which is not unique between scales).

https://github.com/LimeSurvey/LimeSurvey/pull/1677

gabrieljenik

gabrieljenik

2020-12-10 17:55

manager   ~60921

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

lime_release_bot

lime_release_bot

2020-12-16 17:19

administrator   ~60992

Fixed in Release 3.25.4+201215

Related Changesets

LimeSurvey: 3.x-LTS 74bd7169

2020-12-10 17:55:20

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 16761: Wrong details shown at print answer overview for dual scale questions (#1677) Affected Issues
16761
mod - application/models/SurveyDynamic.php Diff File

Issue History

Date Modified Username Field Change
2020-10-20 11:25 Mazi New Issue
2020-10-20 11:25 Mazi File Added: printanswers.png
2020-10-20 11:25 Mazi File Added: survey.png
2020-10-20 11:25 Mazi File Added: limesurvey_survey_274518.lss
2020-10-20 13:04 cdorin Note Added: 60300
2020-10-21 09:32 Mazi Note Added: 60328
2020-10-21 09:32 Mazi File Added: print_LS4.png
2020-10-21 09:38 Mazi Note Edited: 60328
2020-11-02 16:35 Mazi Note Added: 60498
2020-11-03 20:42 cdorin Steps to Reproduce Updated
2020-11-03 20:42 cdorin Sync to Zoho Project => |Yes|
2020-11-03 20:43 cdorin Note Added: 60522
2020-11-04 09:03 Mazi Relationship added parent of 16815
2020-11-04 12:20 cdorin Status new => confirmed
2020-11-04 12:20 cdorin Sync to Zoho Project Yes => |Yes|
2020-11-10 10:59 Mazi Note Added: 60602
2020-11-18 12:26 Mazi Note Added: 60694
2020-12-03 19:41 gabrieljenik Note Added: 60830
2020-12-10 17:55 gabrieljenik Changeset attached => LimeSurvey 3.x-LTS 74bd7169
2020-12-10 17:55 gabrieljenik Note Added: 60921
2020-12-10 17:55 gabrieljenik Assigned To => gabrieljenik
2020-12-10 17:55 gabrieljenik Resolution open => fixed
2020-12-16 17:19 lime_release_bot Sync to Zoho Project Yes => |Yes|
2020-12-16 17:19 lime_release_bot Note Added: 60992
2020-12-16 17:19 lime_release_bot Status confirmed => closed