View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09943Bug reportsSurvey editingpublic2015-12-15 13:15
Reporterduvemyster Assigned Toc_schmitz  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09943: The survey logic file shows false errors on conditions containing expressions with double-quoted strings
Description

The survey logic file shows false errors when conditions containing double-quoted strings are utilized in default answers.

Steps To Reproduce
  1. Create a default answer that contains double-quotes, perhaps {if(TOKEN:ATTRIBUTE_1 == "test","default value","")}
  2. Then run survey logic file.
Additional Information

One way to avoid this now is to utilize single quotes instead of double quotes.

TagsNo tags attached.
Attached Files
surveylogic.PNG (29,885 bytes)   
surveylogic.PNG (29,885 bytes)   
412486.lsa (3,599 bytes)
Bug heat6
Complete LimeSurvey version number (& build)150930
I will donate to the project if issue is resolvedNo
BrowserFirefox 41.0
Database type & versionMySQL 5.5.44
Server OS (if known)Linux
Webserver software & version (if known)Apache 2.4
PHP Version5.6.12-0

Users monitoring this issue

There are no users monitoring this issue.

Activities

duvemyster

duvemyster

2015-10-04 03:34

reporter   ~33304

Here is an lsa file containing this example.

c_schmitz

c_schmitz

2015-10-05 10:55

administrator   ~33305

Can you attach it please? ;)

duvemyster

duvemyster

2015-10-05 21:28

reporter   ~33317

The "Upload File" button is an important step, isn't it. ;-)

I just uploaded it twice under 2 different names, not to make up for anything, rather because I was looking in the wrong place for it after the first upload. Please ignore one of them.

c_schmitz

c_schmitz

2015-12-09 09:32

administrator   ~33775

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

DenisChenu

DenisChenu

2015-12-09 09:37

developer   ~33776

Aaaa expression in "default" :)

c_schmitz

c_schmitz

2015-12-15 13:15

administrator   ~33951

2.06+ Build 151215 released

Related Changesets

LimeSurvey: master 2a4403e7

2015-12-09 09:32

c_schmitz


Details Diff
Fixed issue 09943: Survey logic file shows false errors on default values containing expressions with double-quoted strings Affected Issues
09943
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-10-04 03:33 duvemyster New Issue
2015-10-04 03:33 duvemyster File Added: surveylogic.PNG
2015-10-04 03:34 duvemyster Note Added: 33304
2015-10-05 10:55 c_schmitz Note Added: 33305
2015-10-05 11:15 c_schmitz Assigned To => c_schmitz
2015-10-05 11:15 c_schmitz Status new => feedback
2015-10-05 21:23 duvemyster File Added: survey_archive_412486(1).lsa
2015-10-05 21:25 duvemyster File Added: 412486.lsa
2015-10-05 21:28 duvemyster Note Added: 33317
2015-10-05 21:28 duvemyster Status feedback => assigned
2015-12-09 09:20 c_schmitz File Deleted: survey_archive_412486(1).lsa
2015-12-09 09:32 c_schmitz Changeset attached => LimeSurvey master 2a4403e7
2015-12-09 09:32 c_schmitz Note Added: 33775
2015-12-09 09:32 c_schmitz Resolution open => fixed
2015-12-09 09:33 c_schmitz Status assigned => resolved
2015-12-09 09:33 c_schmitz Fixed in Version => 2.06+
2015-12-09 09:37 DenisChenu Note Added: 33776
2015-12-15 13:15 c_schmitz Note Added: 33951
2015-12-15 13:15 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing