View Issue Details

IDProjectCategoryView StatusLast Update
16221Bug reportsImport/Exportpublic2020-08-06 15:17
ReporterJmantysalo Assigned To 
PrioritynormalSeveritypartial_block 
Status resolvedResolutionfixed 
Product Version4.1.18 
Summary16221: queXML PDF-export and single choise question
Description

According to https://manual.limesurvey.org/Display/Export_survey dropdown question works in queXML PDF export. However it does not, is just shows the first answer option.

TagsNo tags attached.
Complete LimeSurvey version number (& build)Versio 4.1.18+200416
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionN/A
Server OS (if known)
Webserver software & version (if known)
PHP VersionN/A

Activities

Jmantysalo

Jmantysalo

2020-05-04 09:16

reporter  

result

result

2020-05-15 10:43

reporter   ~57825

This actually applies to all single choice options, not only dropdown. Only the first answer is shown, regardless if checked or not. Since normal PDF and Print is also broken, there is currently no way to let users print or save their answers at all.

result

result

2020-05-15 11:09

reporter   ~57826

Last edited: 2020-08-06 15:17

Ok, at least this one I was able to "fix" myself:

In
/application/helpers/export_helper.php
change line 1.739 from
$response->appendChild(QueXMLCreateFixed($qid, $iResponseID, $fieldmap, false, false, 0, $other, $sgq));
to
$response->appendChild(QueXMLCreateFixed($qid, $iResponseID, $fieldmap, true, false, 0, $other, $sgq));

This will now list all answer options and mark the one selected.

I of course have no idea which other side effects this might have, but for no the PDF is our priority.

ollehar

ollehar

2020-05-15 11:34

administrator   ~57829

Last edited: 2020-08-06 15:17

@result Maybe you can make a PR and we can review the change?

Jmantysalo

Jmantysalo

2020-06-15 15:32

reporter   ~58289

Last edited: 2020-08-06 15:17

In my test the proposed solution did not help.

gabrieljenik

gabrieljenik

2020-08-04 18:27

developer   ~59301

Last edited: 2020-08-06 15:17

Can you please try to reproduce it again. Seems it was already fixed by another ticket.

Jmantysalo

Jmantysalo

2020-08-05 09:40

reporter   ~59317

Last edited: 2020-08-06 15:17

Can you please try to reproduce it again. Seems it was already fixed by another ticket.

Confirm, on Version 4.3.8+200803 the bug does not appear anymore. Thanks!

cdorin

cdorin

2020-08-05 14:06

manager   ~59322

Last edited: 2020-08-06 15:17

Thanks for update !

Issue History

Date Modified Username Field Change
2020-05-04 09:16 Jmantysalo New Issue
2020-05-04 09:16 Jmantysalo File Added: limesurvey_survey_837927.lss
2020-05-15 10:43 result Note Added: 57825
2020-05-15 11:09 result Note Added: 57826
2020-05-15 11:34 ollehar Note Added: 57829
2020-05-15 13:26 ollehar Priority none => normal
2020-06-15 15:32 Jmantysalo Note Added: 58289
2020-07-29 22:00 cdorin Status new => confirmed
2020-08-04 18:27 gabrieljenik Note Added: 59301
2020-08-05 09:40 Jmantysalo Note Added: 59317
2020-08-05 14:06 cdorin Status confirmed => closed
2020-08-05 14:06 cdorin Resolution open => fixed
2020-08-05 14:06 cdorin Note Added: 59322
2020-08-06 15:17 swendrich Status closed => resolved