View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
09614Bug reportsImport/Exportpublic2018-06-28 16:58
Reporterchops Assigned Todominikvitt 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09614: False question codes are replaced in the question texts, too
Description

I've imported a survey with false question codes (duplicates, umlaute etc.). Because in the question text the question code is mentioned, the code there is replaced, too. I don't think, it's a wanted behavior.

Additional Information

The question code in the screenshot was "Adresse".
The question text was "Bitte geben Sie die Adresse der Wohnung an."

Adresse in the question text is replaced, too!

TagsNo tags attached.
Attached Files
question_text.JPG (21,291 bytes)   
question_text.JPG (21,291 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)150413
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.5
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache2
PHP Version5.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-05-08 19:04

developer   ~32150

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15154

DenisChenu

DenisChenu

2015-05-08 19:11

developer   ~32151

Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15155

DenisChenu

DenisChenu

2015-05-08 19:12

developer   ~32152

Far perfect, but now replace only question code inside curly bracket.

But need to replace it only after question, not before (old system break with before).
Need an option to deactivate this behaviour when importing/copy

c_schmitz

c_schmitz

2015-05-20 11:11

administrator   ~32247

Version 2.05+ Build 150520 released.

LouisGac

LouisGac

2018-06-26 14:15

developer   ~48296

dominik, please, revert the fix (for https://bugs.limesurvey.org/view.php?id=13548) and try to fix this one differently

DenisChenu

DenisChenu

2018-06-26 14:20

developer   ~48297

Last edited: 2018-06-26 14:21

Just revert the part in relevance , not in question. And maybe add it in question->help

But : why we don't have the other issue since 2.05_plus_150520 …

dominikvitt

dominikvitt

2018-06-28 15:54

developer   ~48363

This issue is already fixed.

c_schmitz

c_schmitz

2018-06-28 16:58

administrator   ~48367

Version 3.13.0 released

Related Changesets

LimeSurvey: master 55b50174

2015-05-08 17:03:51

DenisChenu

Details Diff
Fixed issue 09614: False question codes are replaced in the question texts, too
Dev: preg_replace only inside curly bracket, far as perfect ;)
Dev: Use EM ? But there surely error in EM, not really needed.
Dev: maybe it's better to don't update Bad code inside EM.
Affected Issues
09614
mod - application/helpers/common_helper.php Diff File

LimeSurvey: 2.06 3e2ade21

2015-05-08 17:11:05

DenisChenu

Details Diff
Fixed issue 09614: False question codes are replaced in the question texts, too
Dev: preg_replace only inside curly bracket, far as perfect ;)
Dev: Use EM ? But there surely error in EM, not really needed.
Dev: maybe it's better to don't update Bad code inside EM.
Affected Issues
09614
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-04-23 15:59 chops New Issue
2015-04-23 15:59 chops File Added: question_text.JPG
2015-05-08 17:45 DenisChenu Assigned To => DenisChenu
2015-05-08 17:45 DenisChenu Status new => assigned
2015-05-08 18:52 DenisChenu File Added: limesurvey_survey_731316.lss
2015-05-08 19:04 DenisChenu Changeset attached => LimeSurvey master 55b50174
2015-05-08 19:04 DenisChenu Note Added: 32150
2015-05-08 19:04 DenisChenu Resolution open => fixed
2015-05-08 19:11 DenisChenu Changeset attached => LimeSurvey 2.06 3e2ade21
2015-05-08 19:11 DenisChenu Note Added: 32151
2015-05-08 19:12 DenisChenu Note Added: 32152
2015-05-08 19:12 DenisChenu Status assigned => resolved
2015-05-08 19:12 DenisChenu Fixed in Version => 2.05+
2015-05-20 11:11 c_schmitz Note Added: 32247
2015-05-20 11:11 c_schmitz Status resolved => closed
2018-06-26 14:15 LouisGac Assigned To DenisChenu => dominikvitt
2018-06-26 14:15 LouisGac Status closed => feedback
2018-06-26 14:15 LouisGac Resolution fixed => reopened
2018-06-26 14:15 LouisGac Note Added: 48296
2018-06-26 14:15 LouisGac Status feedback => new
2018-06-26 14:20 DenisChenu Note Added: 48297
2018-06-26 14:21 DenisChenu Note Edited: 48297
2018-06-28 15:54 dominikvitt Status new => resolved
2018-06-28 15:54 dominikvitt Resolution reopened => fixed
2018-06-28 15:54 dominikvitt Note Added: 48363
2018-06-28 16:58 c_schmitz Note Added: 48367
2018-06-28 16:58 c_schmitz Status resolved => closed