Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18558Bug reportsImport/Exportpublic2022-12-30 20:56
Reportergabrieljenik Assigned Togabrieljenik  
PriorityhighSeveritycrash 
Status closedResolutionno change required 
Product Version5.4.x 
Summary18558: SurveyObj->answers is filled with a string while it is expected an array on some places
Description

There is a missmatch since this commit where SurveyObj->answers is filled by SurveyDao. https://github.com/LimeSurvey/LimeSurvey/commit/91ce9479dbb462a72d2c0a97f1f02e99824d0f50

This has an impact for all places where SurveyObj->answers is being used, which usually are export responses plugins.

So far identified:
core\plugins\ExportSPSSsav\SPSSWriter.php
application\helpers\admin\export\SurveyObj.php [getAnswers() method, only used inside SurveyObj, which is already adapted]

So, it seems only SPSSWriter maybe failing?

Steps To Reproduce

We did a very specific fix on 18502.
Still that doesn't solve the general problem.

TagsNo tags attached.
Bug heat4
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

related to 18502 closedgabrieljenik STATA export of simple array question fails (due to encryption?) 

Activities

DenisChenu

DenisChenu

2022-12-15 20:02

developer   ~73156

Strange we have issue only now ?

If it's the case all export must broke.

For export : i just add 5 in confix.xml : seems OK.

gabrieljenik

gabrieljenik

2022-12-23 15:05

manager   ~73305

Have you tried with debug=2?
That was the way for us to reproduce 18502

gabrieljenik

gabrieljenik

2022-12-30 20:55

manager   ~73321

SPSS is already considering this duality.
No more impacts identified, at least on standard exports.

image.png (67,809 bytes)   
image.png (67,809 bytes)   

Issue History

Date Modified Username Field Change
2022-12-15 16:48 gabrieljenik New Issue
2022-12-15 16:48 gabrieljenik Issue generated from: 18502
2022-12-15 16:48 gabrieljenik Relationship added related to 18502
2022-12-15 20:02 DenisChenu Note Added: 73156
2022-12-15 20:02 DenisChenu Bug heat 0 => 2
2022-12-16 12:26 ollehar Priority none => high
2022-12-23 15:05 gabrieljenik Note Added: 73305
2022-12-23 15:05 gabrieljenik Bug heat 2 => 4
2022-12-30 20:55 gabrieljenik Note Added: 73321
2022-12-30 20:55 gabrieljenik File Added: image.png
2022-12-30 20:56 gabrieljenik Assigned To => gabrieljenik
2022-12-30 20:56 gabrieljenik Status new => closed
2022-12-30 20:56 gabrieljenik Resolution open => no change required