View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13008 | Bug reports | Import/Export | public | 2017-12-14 13:50 | 2018-01-15 10:41 |
Reporter | Liod_DS | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.7x.x | ||||
Fixed in Version | 2.7x.x | ||||
Summary | 13008: SPSS export invalid A0 for string | ||||
Description | After the last few patches the spss export it's changed, i found a major bugs in the export_helper | ||||
Steps To Reproduce | i think the new function to calculate the lenght of the strings can return the value "0". Obviusly in SPSS the value "A0" is not allowed, and it gives errors. -> if ((int)$lengthReal == 0){$lengthReal = 1;} but i can't really say if it will broke some other things, so please check ! | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | V 2.72.5+171121 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQl | ||||
Server OS (if known) | Ubuntu | ||||
Webserver software & version (if known) | don't rember | ||||
PHP Version | don't rember | ||||
Seems some difference betwwen SPSS version then :). Can you test about integer if it's OK too ? F8.0 for example. It's not really a major issue : update file is easy :) |
|
yes you're right ! The function for the number works fine, even with the x.0 decimals, i have a few in my export ! I'm using PsPP and it keep give me some waring/errors but it works, ofc in the previous export no warnig popped out. I feel the errors are related to the newest lenght calculating function, but with the hard fix i can deliver the datas today ... so i post the screen just in case it can help you |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=25533 |
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=25534 |
|
OK, fixed this one. @Liod_DS : for the other : can you compare the 2 files ? I didn't understand : i didn't update other part , i think i only update the GET DATA syntax part … :( |
|
@DenisChenu i don't know, the PsPP software get it but leave me some warning, maybe it's my enviroment ( I have change some configurations before edit the helper) ... i think i can't compare 1:1 to an old file because the different sizes (and the survey change slightly every month).... i will try to search for difference in the sintaxt ! |
|
Hi, :). If you want i have an old 2.6lts running : i can export the syntax file from this one :) . It's more esy if you don't have warning after ;) |
|
Version 3.0.3 released. |
|
LimeSurvey: master 8ad0150b 2017-12-16 10:22:29 Details Diff |
Fixed issue 13008: SPSS export invalid A0 for string |
Affected Issues 13008 |
|
mod - application/helpers/export_helper.php | Diff File | ||
LimeSurvey: develop f20a3f08 2017-12-16 10:24:25 Details Diff |
fixed issue 13008: SPSS export invalid A0 for string |
Affected Issues 13008 |
|
mod - application/helpers/export_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-14 13:50 | Liod_DS | New Issue | |
2017-12-14 15:15 | DenisChenu | Assigned To | => DenisChenu |
2017-12-14 15:15 | DenisChenu | Status | new => assigned |
2017-12-14 15:31 | DenisChenu | Note Added: 45296 | |
2017-12-14 15:31 | DenisChenu | Severity | partial_block => minor |
2017-12-14 15:40 | Liod_DS | File Added: Output — PSPPIRE Output Viewer.jpg | |
2017-12-14 15:40 | Liod_DS | Note Added: 45297 | |
2017-12-16 10:17 | DenisChenu | Summary | SPSS export broken => SPSS export invalid A0 for string |
2017-12-16 10:22 | DenisChenu | Changeset attached | => LimeSurvey master 8ad0150b |
2017-12-16 10:22 | DenisChenu | Note Added: 45310 | |
2017-12-16 10:22 | DenisChenu | Resolution | open => fixed |
2017-12-16 10:24 | DenisChenu | Changeset attached | => LimeSurvey develop f20a3f08 |
2017-12-16 10:24 | DenisChenu | Note Added: 45311 | |
2017-12-16 10:28 | DenisChenu | Status | assigned => resolved |
2017-12-16 10:28 | DenisChenu | Fixed in Version | => 2.7x.x |
2017-12-16 10:28 | DenisChenu | Note Added: 45312 | |
2017-12-18 09:27 | Liod_DS | Note Added: 45316 | |
2017-12-18 09:31 | DenisChenu | Note Added: 45317 | |
2018-01-15 10:41 | c_schmitz | Note Added: 45763 | |
2018-01-15 10:41 | c_schmitz | Status | resolved => closed |