View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08377 | Bug reports | Import/Export | public | 2013-11-16 09:31 | 2013-12-09 15:23 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05+ | ||||
| Fixed in Version | 2.05+ | ||||
| Summary | 08377: Invalid XML file if debugSQL is set | ||||
| Description | When you export lss file with debug SQL, an invalid lss file is produced. This break import of xml file ig debug>1. | ||||
| Steps To Reproduce | Set your debug to more than 2 and trye to import If you look at end of lss file , you see [GOOD XML FILE] | ||||
| Additional Information | Here its' for 2.05, think it's same for 2.00 | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 131116 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | Mysql 5 | ||||
| Server OS (if known) | debian/linux (for importing) | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | PHP Version 5.3 | ||||
| Git branch / Pull Request URL | |||||
|
See controllers/admin/export.php line 301, this is also in remotecontrol. It should probably be moved to a different place so all actions that need this can access it. |
|
|
Alternative (if work): setconfig(debug) to 0 ? when needed :) |
|
|
I like the solution by mdekker better. |
|
|
Maybe in an helper ? But which helper ? viewHelper.php ? |
|
|
mdekker : if you don't have time : assign it to me, nope. |
|
|
Apparently mdekker is busy currently. Denis, please take it. |
|
|
OK, Add this to an helper but same than mdekker if possible. Elese copy/paste mdekker code :) |
|
|
Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13529 |
|
|
Thanks for taking care of this :) |
|
|
nope ;) |
|
|
2.05 Build 131209 released. |
|
|
LimeSurvey: 2.05 6608fba7 2013-11-29 18:13 Details Diff |
Fixed issue 08377: Invalid XML file if debugSQL is set (Thanks to mdekker) Dev: added viewHelper::disableHtmlLogging(); |
Affected Issues 08377 |
|
| mod - application/controllers/admin/export.php | Diff File | ||
| mod - application/helpers/viewHelper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-11-16 09:31 | DenisChenu | New Issue | |
| 2013-11-19 12:33 | mdekker | Note Added: 27224 | |
| 2013-11-19 13:09 | DenisChenu | Note Added: 27227 | |
| 2013-11-21 11:53 | c_schmitz | Note Added: 27287 | |
| 2013-11-21 11:53 | c_schmitz | Assigned To | => mdekker |
| 2013-11-21 11:53 | c_schmitz | Status | new => feedback |
| 2013-11-21 18:06 | DenisChenu | Note Added: 27298 | |
| 2013-11-21 18:06 | DenisChenu | Status | feedback => assigned |
| 2013-11-21 18:07 | DenisChenu | Note Added: 27299 | |
| 2013-11-21 18:07 | DenisChenu | Status | assigned => feedback |
| 2013-11-27 16:15 | c_schmitz | Assigned To | mdekker => DenisChenu |
| 2013-11-27 16:15 | c_schmitz | Status | feedback => assigned |
| 2013-11-27 16:15 | c_schmitz | Note Added: 27435 | |
| 2013-11-27 16:21 | DenisChenu | Note Added: 27436 | |
| 2013-11-29 18:13 | DenisChenu | Changeset attached | => LimeSurvey 2.05 6608fba7 |
| 2013-11-29 18:13 | DenisChenu | Note Added: 27457 | |
| 2013-11-29 18:13 | DenisChenu | Resolution | open => fixed |
| 2013-11-29 18:14 | DenisChenu | Status | assigned => resolved |
| 2013-11-29 18:14 | DenisChenu | Fixed in Version | => 2.05+ |
| 2013-12-09 09:15 | mdekker | Note Added: 27524 | |
| 2013-12-09 09:15 | DenisChenu | Note Added: 27525 | |
| 2013-12-09 15:23 | c_schmitz | Note Added: 27527 | |
| 2013-12-09 15:23 | c_schmitz | Status | resolved => closed |