View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16421 | Bug reports | Import/Export | public | 2020-06-23 17:47 | 2020-06-30 14:03 |
Reporter | asshank | Assigned To | ollehar | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.3.1 | ||||
Summary | 16421: surveyGetXMLData() not producing valid XML | ||||
Description | Using surveyGetXMLData() to build a XML file for import into XMLImportSurvey() is producing an Examening the produced XML I can see why (the newly normalized language structure is appended as well as themes) After the closing | ||||
Steps To Reproduce | Hard to reproduce.. I use these functions in a plugin (Lime3 worked ok)! | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | limesurvey4.3.1+200623 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | All | ||||
Database type & version | mariadb | ||||
Server OS (if known) | centos | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | 7.3 | ||||
Made a small error in https://github.com/LimeSurvey/LimeSurvey/pull/1444. second commit is the valid one! |
|
Oops.. I think there is the same problem in the getXMLDataSingleTable() function.. on line 998 there is also to much ($xml->endElement(); // close columns) |
|
Please look at every |
|
Creating a new survey based on an existing survey in the adminpanel from Limesurvey (copy a survey) is also not working. |
|
@carsten IMHO it is NOT fixed in https://github.com/LimeSurvey/LimeSurvey/commit/a877f78df366fd5ff1546f41389e3a775eb0a83c |
|
Are you using MySQL 8? |
|
IMHO: The wrong XML has nothing to do with MYSQL8.. It just is not valid anymore. Due to one close tag to many. |
|
It has to do with MySQL 8 due to the new keyword "groups", our escaping fix, and a pattern match. |
|
@asshank : i juts update 3.X this morning (yes : 3.X) Before the update : xml broken, after update : xml OK … Unsure it's this fix , but : please can you check ? |
|
we prefer to concentrate our testing to 4.x. |
|
You use git to pull? |
|
I mean : test on 4.X :) |
|
Can you attach an lss file with which we can reproduce the issue? Or describe in detail how to reproduce it. Thank you. |
|
Before See screnshot (debug =2) After : |
|
@asshank : rthink your last commit are an issue : https://github.com/LimeSurvey/LimeSurvey/pull/1444/commits/16a78259429d412b512c5439a5e8045907ad571d |
|
Because there was no reaction on my fix yesterday I tried to wothdraw the pull... this https://github.com/LimeSurvey/LimeSurvey/pull/1444/commits/0c56e8f067a1dd5979d3e212c53876335a6891db php has the correct code to get Copy Survey working again! But I noticed a lot of problems.. boiling down to the lines with See earlies comments |
|
I just pushed another fix to LS3. I will cherry-pick it into LS4. |
|
Hm, looks like the needed fix was already applied to LS4. In any case, more info needed to be able to reproduce. |
|
in github I see the FIX from Carsten 14 hours ago. We have exactly this patch https://github.com/LimeSurvey/LimeSurvey/pull/1444/commits/0c56e8f067a1dd5979d3e212c53876335a6891db installed on our Lime4 (limesurvey4.3.1+200623) and we can Copy Surveys again! |
|
Please understand, without proper instructions of how to reproduce the issue, we can't help you. |
|
@asshank : i just with last git version
MLaybe some other fix fix differently … we don't have this issue at start of 4.0 : xml is OK |
|
Just did a test with Version 4.3.1+200623. |
|
This commit : https://github.com/LimeSurvey/LimeSurvey/commit/a877f78df366fd5ff1546f41389e3a775eb0a83c is not in 4.3.1+200623. |
|
No, but it will be in 4.3.2 on Monday. :) |
|
Probably your looking ay the version modified by Carsten. |
|
@asshank : but you can test applying the fix :) |
|
Please test with new release next Monday. |
|
tested, seems to be working now. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-06-23 17:47 | asshank | New Issue | |
2020-06-23 17:51 | asshank | Note Added: 58416 | |
2020-06-23 18:03 | asshank | Note Added: 58417 | |
2020-06-24 00:43 | asshank | Note Added: 58421 | |
2020-06-24 09:03 | asshank | Note Added: 58423 | |
2020-06-24 09:51 | asshank | Note Added: 58424 | |
2020-06-25 07:49 | asshank | Note Added: 58434 | |
2020-06-25 12:22 | ollehar | Note Added: 58449 | |
2020-06-25 15:08 | asshank | Note Added: 58454 | |
2020-06-25 15:09 | ollehar | Note Added: 58455 | |
2020-06-25 15:13 | DenisChenu | Note Added: 58456 | |
2020-06-25 15:20 | asshank | Note Added: 58460 | |
2020-06-25 15:22 | ollehar | Note Added: 58461 | |
2020-06-25 15:22 | DenisChenu | Note Added: 58462 | |
2020-06-25 15:22 | asshank | Note Added: 58463 | |
2020-06-25 15:24 | ollehar | Note Added: 58464 | |
2020-06-25 15:28 | DenisChenu | Note Added: 58465 | |
2020-06-25 15:28 | DenisChenu | File Added: Capture d’écran du 2020-06-25 15-26-36.png | |
2020-06-25 15:28 | DenisChenu | File Added: limesurvey_survey_734555.lss | |
2020-06-25 15:28 | DenisChenu | File Added: Capture d’écran du 2020-06-25 15-28-20.png | |
2020-06-25 15:29 | DenisChenu | Note Added: 58466 | |
2020-06-25 15:44 | asshank | Note Added: 58470 | |
2020-06-25 15:46 | ollehar | Note Added: 58471 | |
2020-06-25 15:53 | ollehar | Note Added: 58473 | |
2020-06-25 15:54 | ollehar | Status | new => feedback |
2020-06-25 16:00 | asshank | Note Added: 58474 | |
2020-06-25 16:00 | asshank | Status | feedback => new |
2020-06-25 16:01 | ollehar | Note Added: 58475 | |
2020-06-25 16:06 | DenisChenu | Note Added: 58476 | |
2020-06-25 16:06 | DenisChenu | File Added: limesurvey_survey_created.lss | |
2020-06-26 09:35 | asshank | Note Added: 58513 | |
2020-06-26 09:35 | asshank | File Added: 2020-06-26_09h32_08.png | |
2020-06-26 09:35 | asshank | File Added: 2020-06-26_09h31_39.png | |
2020-06-26 09:59 | DenisChenu | Note Added: 58515 | |
2020-06-26 10:38 | ollehar | Note Added: 58516 | |
2020-06-26 10:38 | asshank | Note Added: 58517 | |
2020-06-26 10:49 | DenisChenu | Note Added: 58519 | |
2020-06-26 11:50 | ollehar | Assigned To | => ollehar |
2020-06-26 11:50 | ollehar | Status | new => feedback |
2020-06-26 11:50 | ollehar | Note Added: 58520 | |
2020-06-30 14:02 | asshank | Note Added: 58576 | |
2020-06-30 14:02 | asshank | Status | feedback => assigned |
2020-06-30 14:03 | ollehar | Status | assigned => closed |
2020-06-30 14:03 | ollehar | Resolution | open => fixed |