View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16115 | Bug reports | Import/Export | public | 2020-04-08 10:50 | 2020-04-14 16:02 |
Reporter | lterfloth | Assigned To | c_schmitz | ||
Priority | urgent | Severity | crash | ||
Status | closed | Resolution | reopened | ||
Product Version | 4.1.5 | ||||
Summary | 16115: .lsg import doesn't work with array-questiontype | ||||
Description | Hey there, NOTE: WE ARE ON 4.1.4 - this is not available in the dropdown. I imported a .lsg that contains 2 array questions with each 5 subquestions and a 0 to 10 (agree - disagree) scale. I exported a working group from another colleagues survey and imported it to my survey which lead to the following issues: 1) the subquestions textfields were empty after importing them I can't find a way around this bug. | ||||
Steps To Reproduce | Import the added questiongroup and bug 1) is reproduced. Then edit the subquestion-textfields/add one subquestion and hit save, that should reproduce bug 2) | ||||
Tags | 4.1.16, 4.1.4, import | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 4.1.4 Build 200214 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Chrome and Firefox - did not test others. | ||||
Database type & version | mysql, mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ | ||||
Server OS (if known) | Linux 3.16.0-10-amd64 #1 SMP Debian 3.16.81-1 (2020-01-17) x86_64 | ||||
Webserver software & version (if known) | Apache/2.4.10 (Debian) | ||||
PHP Version | 7.2.29-1+0~20200320.39+debian8~1.gbp513c2e | ||||
Announcement: tested it on the LimeSurvey DevDemo https://demo.limesurvey.org/index.php?r=admin as well (Thanks, _olle!) which was running 4.1.16. The bug is still present there. |
|
This issues is blocking us from rolling out our latest, updated survey to our at-th-ready participants. We are not able to properly edit the necessary changes into our survey as the error prevents a successfull save. |
|
You can also 1) Give us a screenshot of "Call to a member function setAttributes() on null" 2) Enable debug = 2 in application/config/config.php and give us a screenshot of "Call to a member function setAttributes() on null" or the full error |
|
I also have the issue, thanks for report. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29817 |
|
The problem seems to be the export, not the import. |
|
Wow that was quick. Will try and report back, thank you. |
|
The link you provided is not working. Found the change on GitHub though. Do we just have to overwrite the file for an update? |
|
Update: we applied the fix by just changing line 1943, nothing else. When clicking the export group button, an error appears (see attached screenshot) |
|
You must not have changed the line properly. please try again. |
|
This is the environment/block we changed the line in:
I'll get the full export_helper.php-file later today, will attach that one as soon as possible so you can compare it. Again info: we are on 4.1.4, might have to do with that version as well? No chance for us to test on 4.1.16 atm. |
|
Attached the export_helper.php we are using. The file is on version 4.1.4 and no changes were made. Just that single line got replaced according to the sysadmin. |
|
Revert all your changes. We don't offer personal support to non-paying users. Either wait for the release or ask on our forum. |
|
I know that you are not offering "personal support", do not need to put emphasis on that. We are calmly waiting and not pressuring you in any way. Maybe I misunderstood the way you communicate within the bugtracker, sorry for not knowing your culture in this regard. The only thing I did was responding to the requests made by c_schmitz. I do not understand such a passive-aggressive response, as I was only trying to give you as much info as possible. |
|
Hello @lterfloth, we did not mean to answer you harshly - and it definitely was not Olle's intention ^^ . Regarding your problem, please note that we cannot test in 4.1.4 - all the fixes are provided based on the latest stable version which is at the moment 4.1.16. Also the issue was not completely solved: the subquestion text is exported, but it does not seem to be imported - If @c_schmitz does not have time for this issue, I will make sure to be part of the next round of bug fixing. (changing status now) |
|
@lterfloth Yeah, sorry, I had a root canal filling this morning, haha. It got to me. |
|
@lterfloth, sorry for the confusion. Please test and let me know if it works now. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29822 |
|
Fixed in Release 4.1.17+200414 |
|
Hey there, I tried reproducing the bug on your demo system ( https://demo.limesurvey.org/index.php?r=admin ) and it was successful. Steps to reproduce:
|
|
Dove deeper: I exported the .lsg again after applying the fix. Seems like it works now, on 4.1.4 and on 4.1.17 (demo server) as well. So the bugfix seems to be working flawlessly, sorry for reopening and BIG THANKS for the quick fix! |
|
Fixed. |
|
LimeSurvey: master bd8dd6dd 2020-04-08 13:58 Details Diff |
Fixed issue 16115: .lsg group export does not export subquestion texts |
Affected Issues 16115 |
|
mod - application/helpers/export_helper.php | Diff File | ||
LimeSurvey: master edc0e38d 2020-04-09 22:47 Details Diff |
Fixed issue 16115: .lsg group export does not export subquestion texts |
Affected Issues 16115 |
|
mod - application/helpers/export_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-08 10:50 | lterfloth | New Issue | |
2020-04-08 10:50 | lterfloth | File Added: limesurvey_group_443.lsg | |
2020-04-08 11:23 | lterfloth | Note Added: 57021 | |
2020-04-08 11:31 | lterfloth | Note Added: 57022 | |
2020-04-08 11:32 | lterfloth | Tag Attached: 4.1.4 | |
2020-04-08 11:32 | lterfloth | Tag Attached: 4.1.16 | |
2020-04-08 11:32 | lterfloth | Tag Attached: import | |
2020-04-08 11:32 | ollehar | Priority | none => urgent |
2020-04-08 11:32 | ollehar | Severity | partial_block => crash |
2020-04-08 11:34 | ollehar | Note Added: 57024 | |
2020-04-08 11:36 | cdorin | Status | new => confirmed |
2020-04-08 11:38 | cdorin | Note Added: 57025 | |
2020-04-08 11:38 | cdorin | Zoho Sprints | => |Yes| |
2020-04-08 11:38 |
|
Zoho Sprints ID | => 14469000000031025 |
2020-04-08 11:41 | c_schmitz | Assigned To | => c_schmitz |
2020-04-08 11:41 | c_schmitz | Status | confirmed => assigned |
2020-04-08 11:58 | c_schmitz | Changeset attached | => LimeSurvey master bd8dd6dd |
2020-04-08 11:58 | c_schmitz | Note Added: 57026 | |
2020-04-08 11:58 | c_schmitz | Resolution | open => fixed |
2020-04-08 12:00 | c_schmitz | Status | assigned => feedback |
2020-04-08 12:00 | c_schmitz | Note Added: 57027 | |
2020-04-08 12:01 | lterfloth | Note Added: 57028 | |
2020-04-08 12:01 | lterfloth | Status | feedback => assigned |
2020-04-08 12:02 | lterfloth | Note Added: 57029 | |
2020-04-08 13:38 | lterfloth | File Added: Bildschirmfoto 2020-04-08 um 13.24.33.png | |
2020-04-08 13:38 | lterfloth | Note Added: 57031 | |
2020-04-08 16:44 | c_schmitz | Note Added: 57032 | |
2020-04-08 16:44 | c_schmitz | Status | assigned => feedback |
2020-04-09 11:08 | lterfloth | Note Added: 57040 | |
2020-04-09 11:08 | lterfloth | Status | feedback => assigned |
2020-04-09 14:16 | lterfloth | File Added: export_helper.php | |
2020-04-09 14:16 | lterfloth | Note Added: 57053 | |
2020-04-09 14:20 | ollehar | Note Added: 57054 | |
2020-04-09 14:25 | lterfloth | Note Added: 57055 | |
2020-04-09 15:43 | cdorin | Note Added: 57057 | |
2020-04-09 15:44 | cdorin | Status | assigned => confirmed |
2020-04-09 15:44 | cdorin | Zoho Sprints | Yes => |Yes| |
2020-04-09 16:56 | ollehar | Note Added: 57059 | |
2020-04-09 16:58 | ollehar | Note Edited: 57059 | |
2020-04-09 20:01 | c_schmitz | Status | confirmed => feedback |
2020-04-09 20:01 | c_schmitz | Note Added: 57062 | |
2020-04-09 20:01 | c_schmitz | Note Edited: 57062 | |
2020-04-09 20:50 | c_schmitz | Changeset attached | => LimeSurvey master edc0e38d |
2020-04-09 20:50 | c_schmitz | Note Added: 57063 | |
2020-04-14 12:53 | lime_release_bot | Zoho Sprints | Yes => |Yes| |
2020-04-14 12:53 | lime_release_bot | Note Added: 57111 | |
2020-04-14 12:53 | lime_release_bot | Status | feedback => closed |
2020-04-14 13:42 | ollehar | Status | closed => feedback |
2020-04-14 13:42 | ollehar | Resolution | fixed => reopened |
2020-04-14 13:45 | lterfloth | Note Added: 57119 | |
2020-04-14 13:45 | lterfloth | Status | feedback => assigned |
2020-04-14 16:00 | lterfloth | Note Added: 57120 | |
2020-04-14 16:02 | ollehar | Status | assigned => closed |
2020-04-14 16:02 | ollehar | Note Added: 57121 |