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).
 24
IDProjectCategoryView StatusLast Update
18502Bug reportsImport/Exportpublic2023-01-23 12:41
ReporterMazi Assigned Togabrieljenik  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version5.4.x 
Summary18502: STATA export of simple array question fails (due to encryption?)
Description

When exporting data of two data sets for a single array question using latest LS 5.x version and STATA export, the export fails with the error message shown at the attached screenshot.

Steps To Reproduce

Steps to reproduce

Import the attached LSA, go to export and select STATA export (plugin may have to be enabled first).

Expected result

Get STATA file for download

Actual result

Export crashed

TagsNo tags attached.
Attached Files
image.png (19,763 bytes)   
image.png (19,763 bytes)   
Bug heat24
Complete LimeSurvey version number (& build)Version 5.4.12+221121
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMariaDB 10.1.48
Server OS (if known)
Webserver software & version (if known)
PHP Version8.1

Relationships

has duplicate 18570 closedgabrieljenik can't export survey responses to STATA 
related to 18501 closedDenisChenu Answers with answer code 0 (zero) do NOT get saved if question is set to use encrypted data 
related to 18558 closedgabrieljenik SurveyObj->answers is filled with a string while it is expected an array on some places 

Activities

ollehar

ollehar

2022-11-21 17:08

administrator   ~72841

Is Adam responsible for this plugin?

Mazi

Mazi

2022-11-22 13:42

updater   ~72849

@ollehar, I don't think so, see https://github.com/LimeSurvey/LimeSurvey/blob/master/application/core/plugins/ExportSTATAxml/config.xml#L8

My guess is that this is related to encryption as well. Either it can not deal with it at all or is is something specific like the fix for https://bugs.limesurvey.org/view.php?id=18501 which fixes encryption for zero values.

DenisChenu

DenisChenu

2022-11-23 08:22

developer   ~72853

Is Adam responsible for this plugin?

All LimeSurvey team are responsible of core plugin …
If original dev still here and is OK to update : great.

Mazi

Mazi

2022-12-08 11:12

updater   ~73033

@ollehar, can we please assign this to a developer so it gets fixed at the next sprint?
The customer who also reported https://bugs.limesurvey.org/view.php?id=18501 needs a working STATA export for their upcoming project.

gabrieljenik

gabrieljenik

2022-12-15 16:34

manager   ~73143

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

DenisChenu

DenisChenu

2022-12-15 19:55

developer   ~73155

@Mazi : maybe you can test ?

Mazi

Mazi

2022-12-16 09:26

updater   ~73160

@DenisChenu, unfortunately, I do not have STATA installed. I actually never used it before.
A customer had reported this but they can only update and test once this is included at an official release.

DenisChenu

DenisChenu

2022-12-16 12:03

developer   ~73162

Last edited: 2022-12-16 12:04

PS : the issue is export crashed : maybe just set as tested for this part :)

gabrieljenik

gabrieljenik

2023-01-05 15:10

manager   ~73371

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

LimeBot

LimeBot

2023-01-09 11:01

administrator   ~73389

Fixed in Release 5.5.2+230109

Related Changesets

LimeSurvey: master 1d81bfc4

2023-01-05 15:10:46

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 18502: STATA export of simple array question fails (#2792)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
18502
mod - application/core/plugins/ExportSTATAxml/STATAxmlWriter.php Diff File

Issue History

Date Modified Username Field Change
2022-11-21 17:06 Mazi New Issue
2022-11-21 17:06 Mazi File Added: image.png
2022-11-21 17:06 Mazi File Added: survey_archive_888479 (1).lsa
2022-11-21 17:08 Mazi Relationship added child of 18501
2022-11-21 17:08 ollehar Note Added: 72841
2022-11-21 17:08 ollehar Bug heat 0 => 2
2022-11-22 13:42 Mazi Note Added: 72849
2022-11-22 13:42 Mazi Bug heat 2 => 4
2022-11-23 08:22 DenisChenu Note Added: 72853
2022-11-23 08:22 DenisChenu Bug heat 4 => 6
2022-11-23 08:23 DenisChenu Relationship deleted child of 18501
2022-11-23 08:23 DenisChenu Relationship added related to 18501
2022-12-08 11:12 Mazi Note Added: 73033
2022-12-13 13:05 gabrieljenik Assigned To => gabrieljenik
2022-12-13 13:05 gabrieljenik Status new => assigned
2022-12-15 16:34 gabrieljenik Assigned To gabrieljenik => DenisChenu
2022-12-15 16:34 gabrieljenik Status assigned => ready for code review
2022-12-15 16:34 gabrieljenik Note Added: 73143
2022-12-15 16:34 gabrieljenik Bug heat 6 => 8
2022-12-15 16:48 gabrieljenik Issue cloned: 18558
2022-12-15 16:48 gabrieljenik Relationship added related to 18558
2022-12-15 19:55 DenisChenu Assigned To DenisChenu =>
2022-12-15 19:55 DenisChenu Status ready for code review => ready for testing
2022-12-15 19:55 DenisChenu Note Added: 73155
2022-12-16 09:26 Mazi Note Added: 73160
2022-12-16 12:03 DenisChenu Note Added: 73162
2022-12-16 12:04 DenisChenu Note Edited: 73162
2022-12-22 22:26 gabrieljenik Relationship added related to 18570
2022-12-22 23:36 gabrieljenik Assigned To => ollehar
2022-12-22 23:36 gabrieljenik Status ready for testing => ready for merge
2023-01-05 15:10 gabrieljenik Changeset attached => LimeSurvey master 1d81bfc4
2023-01-05 15:10 gabrieljenik Note Added: 73371
2023-01-05 15:10 gabrieljenik Assigned To ollehar => gabrieljenik
2023-01-05 15:10 gabrieljenik Resolution open => fixed
2023-01-06 15:41 ollehar Status ready for merge => resolved
2023-01-09 11:01 LimeBot Note Added: 73389
2023-01-09 11:01 LimeBot Status resolved => closed
2023-01-09 11:01 LimeBot Bug heat 8 => 10
2023-01-23 12:41 gabrieljenik Relationship replaced has duplicate 18570
2023-01-23 12:41 gabrieljenik Bug heat 10 => 20
2023-01-23 12:41 gabrieljenik Issue Monitored: MSouad
2023-01-23 12:41 gabrieljenik Bug heat 20 => 22
2023-01-23 12:41 gabrieljenik Issue Monitored: gabrieljenik
2023-01-23 12:41 gabrieljenik Bug heat 22 => 24