View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08362 | Bug reports | Import/Export | public | 2013-11-12 19:54 | 2013-11-24 19:05 |
Reporter | mfaber | Assigned To | adamzammit | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05 RC | ||||
Target Version | 2.05+ | Fixed in Version | 2.00+ | ||
Summary | 08362: quexf-pdf export: text ends abruptly after &-sign | ||||
Description | When the "&"-character is used in an answer category, the text ends there in the quexml-pdf. Example: "Banana & Cherry" becomes "Banana" in the pdf. | ||||
Steps To Reproduce | quexf-pdf export the attached lss-file | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 131112 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF | ||||
Database type & version | MySQL 5.0.10 | ||||
Server OS (if known) | Win7 | ||||
Webserver software & version (if known) | Apache/2.4.3 (Win32) | ||||
PHP Version | PhP 5.4.7 | ||||
When switching on debug mode in limesurvey, the following warning appears: PHP warning DOMDocument::createElement(): unterminated entity reference Banana E:\survey\htdocs\github\LimeSurvey\application\helpers\export_helper.php(1113) 1101 { Stack Trace 1108 $Query = "SELECT * FROM {{questions}} WHERE parent_qid = $qid and scale_id = 0 AND language='$quexmllang' ORDER BY questionorder ASC"; #1 1407 $response->appendChild(QueXMLFixedArray(array($qlang->gT("Increase") => 'I',$qlang->gT("Same") => 'S',$qlang->gT("Decrease") => 'D'))); #2 789 |
|
Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13486 |
|
works! thanks, Adam! |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13498 |
|
cherry-picked this fix to 2.00+ |
|
2.00+ Build 131122 released |
|
LimeSurvey: 2.05 b4673af5 2013-11-22 03:00 Details Diff |
Fixed issue 08362: quexf-pdf export: text ends abruptly after &-sign |
Affected Issues 08362 |
|
mod - application/helpers/export_helper.php | Diff File | ||
LimeSurvey: master 04e5965f 2013-11-22 03:00 Committer: mfaber Details Diff |
Fixed issue 08362: quexf-pdf export: text ends abruptly after &-sign |
Affected Issues 08362 |
|
mod - application/helpers/export_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-12 19:54 | mfaber | New Issue | |
2013-11-12 19:55 | mfaber | Issue Monitored: adamzammit | |
2013-11-12 19:55 | mfaber | File Added: exportbug.lss | |
2013-11-12 19:58 | mfaber | Note Added: 27179 | |
2013-11-21 00:11 | c_schmitz | Assigned To | => adamzammit |
2013-11-21 00:11 | c_schmitz | Status | new => assigned |
2013-11-22 03:02 | adamzammit | Changeset attached | => LimeSurvey 2.05 b4673af5 |
2013-11-22 03:02 | adamzammit | Note Added: 27306 | |
2013-11-22 03:02 | adamzammit | Resolution | open => fixed |
2013-11-22 11:28 | c_schmitz | Target Version | 2.05 RC => 2.05+ |
2013-11-22 23:25 | mfaber | Note Added: 27336 | |
2013-11-22 23:29 | mfaber | Changeset attached | => LimeSurvey master 04e5965f |
2013-11-22 23:29 | mfaber | Note Added: 27337 | |
2013-11-22 23:29 | mfaber | Assigned To | adamzammit => mfaber |
2013-11-22 23:30 | mfaber | Note Added: 27338 | |
2013-11-22 23:30 | mfaber | Status | assigned => resolved |
2013-11-22 23:30 | mfaber | Fixed in Version | => 2.00+ |
2013-11-22 23:30 | mfaber | Assigned To | mfaber => adamzammit |
2013-11-24 19:05 | c_schmitz | Note Added: 27343 | |
2013-11-24 19:05 | c_schmitz | Status | resolved => closed |
2021-08-03 18:20 | guest | Bug heat | 6 => 8 |