View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
16221Bug reportsImport/Exportpublic2020-12-28 11:16
ReporterJmantysalo Assigned To 
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
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.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)Versio 4.1.18+200416
I will donate to the project if issue is resolvedNo
Browser
Database type & versionN/A
Server OS (if known)
Webserver software & version (if known)
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

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

manager   ~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

reporter   ~59322

Last edited: 2020-08-06 15:17

Thanks for update !

cdorin

cdorin

2020-12-28 11:16

reporter   ~61192

Solved in 4.4.0 RC1

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-07-29 22:00 cdorin Zoho Sprints => |Yes|
2020-07-29 22:00 swendrich Zoho Sprints ID => 14469000000197061
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 Zoho Sprints Yes => |Yes|
2020-08-06 15:17 swendrich Status closed => resolved
2020-12-28 11:16 cdorin Note Added: 61192
2020-12-28 11:16 cdorin Status resolved => closed