View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08353Bug reportsExpression Managerpublic2013-11-22 14:35
ReporterResearchOnBlogs Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version2.05 RC 
Summary08353: EM - "QA View" causes PHP error.
Description

I I try to to view the QA-View (checking the em) I get an error. An import of this question causes an error, too.

Steps To Reproduce

I used in a multi short text question this em validation

Additional Information

(is_empty(adress_zip) or regexMatch('/^[1-9][0-9]{0,4}$/' , adress_zip)) and (is_empty(adress_number) or regexMatch('/^[1-9][0-9]{0,4}$/' , adress_number))

{if((is_empty(adress_zip) or regexMatch('/^[1-9][0-9]{0,4}$/' , adress_zip)), '', 'Please enter a valid zip code')}
{if((is_empty(adress_number) or regexMatch('/^[1-9][0-9]{0,4}$/' , adress_number)), '', 'Please enter a valid number')}

TagsNo tags attached.
Attached Files
em_qa_click.png (396,570 bytes)
Bug heat4
Complete LimeSurvey version number (& build)131105
I will donate to the project if issue is resolvedNo
Browserx
Database type & versionx
Server OS (if known)x
Webserver software & version (if known)x
PHP Versionx
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-11-08 22:06

administrator   ~27170

Can you please elborate on how to reproduce this issue using the attached question?

ResearchOnBlogs

ResearchOnBlogs

2013-11-10 14:56

reporter   ~27173

try to import the question into a en-lang survey.
After that try to use the "QA"button to check the validation code.
This cause an error.

ResearchOnBlogs

ResearchOnBlogs

2013-11-12 14:56

reporter   ~27175

same issue with stable version: ..../expressions/em_core_helper.php on line 834

ResearchOnBlogs

ResearchOnBlogs

2013-11-12 14:59

reporter   ~27176

397698 is the 2.0+

c_schmitz

c_schmitz

2013-11-20 14:07

administrator   ~27254

Sorry, no problems here. Cannot reproduce.

Issue History

Date Modified Username Field Change
2013-11-08 16:21 ResearchOnBlogs New Issue
2013-11-08 16:21 ResearchOnBlogs File Added: em_qa_click.png
2013-11-08 16:21 ResearchOnBlogs File Added: limesurvey_question_22.lsq
2013-11-08 22:06 c_schmitz Note Added: 27170
2013-11-08 22:06 c_schmitz Assigned To => c_schmitz
2013-11-08 22:06 c_schmitz Status new => feedback
2013-11-10 14:56 ResearchOnBlogs Note Added: 27173
2013-11-10 14:56 ResearchOnBlogs Status feedback => assigned
2013-11-12 14:56 ResearchOnBlogs Note Added: 27175
2013-11-12 14:58 ResearchOnBlogs File Added: limesurvey_survey_397698.lss
2013-11-12 14:59 ResearchOnBlogs Note Added: 27176
2013-11-20 14:07 c_schmitz Note Added: 27254
2013-11-20 14:07 c_schmitz Status assigned => feedback
2013-11-22 14:35 c_schmitz Status feedback => closed
2013-11-22 14:35 c_schmitz Resolution open => unable to reproduce