View Issue Details

IDProjectCategoryView StatusLast Update
15985Bug reportsPrint Viewpublic2020-07-06 13:20
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version3.22.9 
Summary15985: Print answers : list with comments, comments not printed
Description

See Summary

Steps To Reproduce

Import included lss,
Launch
Enter comments
Print view

Additional Information

pdf from 2.6lts

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.22.8
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant?
Server OS (if known)not relevant ?
Webserver software & version (if known)not relevant ?
PHP Versionnot relevant ?

Activities

DenisChenu

DenisChenu

2020-03-14 18:50

developer  

DenisChenu

DenisChenu

2020-03-14 18:51

developer   ~56545

<pre>{{ dump(question) }}</pre>

  [&quot;qid&quot;]=>
  string(4) &quot;2355&quot;
  [&quot;parent_qid&quot;]=>
  string(1) &quot;0&quot;
  [&quot;sid&quot;]=>
  string(6) &quot;361286&quot;
  [&quot;type&quot;]=>
  string(1) &quot;O&quot;
  [&quot;title&quot;]=>
  string(3) &quot;Q00&quot;
  [&quot;question&quot;]=>
  string(54) &quot;A first example question. Please answer this question:&quot;
  [&quot;preg&quot;]=>
  string(0) &quot;&quot;
  [&quot;help&quot;]=>
  string(29) &quot;This is a question help text.&quot;
  [&quot;other&quot;]=>
  string(1) &quot;N&quot;
  [&quot;mandatory&quot;]=>
  string(1) &quot;N&quot;
  [&quot;question_order&quot;]=>
  string(1) &quot;0&quot;
  [&quot;language&quot;]=>
  string(2) &quot;en&quot;
  [&quot;scale_id&quot;]=>
  string(1) &quot;0&quot;
  [&quot;same_default&quot;]=>
  string(1) &quot;0&quot;
  [&quot;relevance&quot;]=>
  string(1) &quot;1&quot;
  [&quot;modulename&quot;]=>
  string(0) &quot;&quot;
  [&quot;gid&quot;]=>
  string(3) &quot;186&quot;
  [&quot;questionSrc&quot;]=>
  string(54) &quot;A first example question. Please answer this question:&quot;
  [&quot;helpSrc&quot;]=>
  string(29) &quot;This is a question help text.&quot;
  [&quot;fieldname&quot;]=>
  string(15) &quot;361286X186X2355&quot;
  [&quot;questionclass&quot;]=>
  string(17) &quot;list-with-comment&quot;
  [&quot;answervalue&quot;]=>
  string(1) &quot;4&quot;
  [&quot;answeroption&quot;]=>
  array(7) {
    [&quot;qid&quot;]=>
    string(4) &quot;2355&quot;
    [&quot;code&quot;]=>
    string(1) &quot;4&quot;
    [&quot;answer&quot;]=>
    string(19) &quot;Somewhat Interested&quot;
    [&quot;sortorder&quot;]=>
    string(1) &quot;4&quot;
    [&quot;assessment_value&quot;]=>
    string(1) &quot;4&quot;
    [&quot;language&quot;]=>
    string(2) &quot;en&quot;
    [&quot;scale_id&quot;]=>
    string(1) &quot;0&quot;
  }
}
gabrieljenik

gabrieljenik

2020-06-26 15:43

developer   ~58523

Last edited: 2020-07-02 14:46

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

This was implemented on getFullResponseTable(), LSv2.6.
But seems to got lost in the transitio to LSv3 when moving to SurveyDynamic::getPrintAnswersArray()

Implementing comments for question type 'O'
Rename getComment parameter.

sushmanadendla

sushmanadendla

2020-06-26 17:34

manager   ~58529

Last edited: 2020-07-02 14:46

Tested the issue by pulling the PR,seems to work fine.
Please find the attachments for more details

guest

guest

2020-07-02 14:39

viewer   ~58650

Last edited: 2020-07-02 14:46

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

lime_release_bot

lime_release_bot

2020-07-06 13:20

administrator   ~58705

Fixed in Release 3.22.25+200706

Related Changesets

LimeSurvey: 3.x-LTS 91c58f5c

2020-07-02 14:39:23

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 15985: Print answers: list with comments, comments not printed (#1448) Affected Issues
15985
mod - application/models/SurveyDynamic.php Diff File
mod - themes/survey/vanilla/views/subviews/printanswers/question_types/template_list-with-comment.twig Diff File

Issue History

Date Modified Username Field Change
2020-03-14 18:50 DenisChenu New Issue
2020-03-14 18:50 DenisChenu File Added: survey_archive_361286.lsa
2020-03-14 18:50 DenisChenu File Added: simple-print-answres-361286-26LTS.pdf
2020-03-14 18:50 DenisChenu File Added: simple-print-answres-361286-38.pdf
2020-03-14 18:51 DenisChenu Note Added: 56545
2020-03-20 23:54 cdorin Priority none => normal
2020-03-20 23:54 cdorin Status new => confirmed
2020-06-26 15:43 gabrieljenik Note Added: 58523
2020-06-26 17:34 sushmanadendla Note Added: 58529
2020-06-26 17:34 sushmanadendla File Added: Printed after PR pulled.pdf
2020-06-26 17:34 sushmanadendla File Added: Printed Before PR pulled.pdf
2020-07-02 14:39 gabrieljenik Changeset attached => LimeSurvey 3.x-LTS 91c58f5c
2020-07-02 14:39 guest Note Added: 58650
2020-07-02 14:46 swendrich Status confirmed => resolved
2020-07-06 13:20 lime_release_bot Note Added: 58705
2020-07-06 13:20 lime_release_bot Status resolved => closed
2020-07-06 13:20 lime_release_bot Resolution open => fixed