View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05327Bug reportsConditionspublic2011-07-22 16:23
Reporterjelo Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05327: RegExpressions are not shown in the field when editing the condition
Description

The Regular expression field is empty when a condition will be reedited.

Steps To Reproduce

Insert a regexpression into a condition and than edit the saved condition.
The regex field is empty.

Additional Information

The regular expression is saved since it is shown in the summary at the top of the page. Only the reload of the data into the field seems to be broken.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)10377
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.0.92
Server OS (if known)Centos 4.9
Webserver software & version (if known)Apache 1.3x
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

jelo

jelo

2011-07-07 14:34

partner   ~15670

Last edited: 2011-07-07 14:49

I am not using regexp often in conditions. The documentation about using regex in conditions is rare. The page "Using Regular Expressions"
http://docs.limesurvey.org/tiki-index.php?page=Using+Regular+Expressions was first used for validation fields.

Ist the statement "(Perl) Regular Expressions must start and finish with a forward slash ("/")" true for the regex tab in the condition section?

Since the preg_match is used I wonder if delimiters are added automatically?
http://www.php.net/manual/en/regexp.reference.delimiters.php

A condition was correctly match when using a simple regex like ^[0][3] and not when putting / as delimiters around.

The validation fields in the question types are still demanding delimiters.

lemeur

lemeur

2011-07-09 20:36

developer   ~15705

Fixed in rev 10462. and 10463.

c_schmitz

c_schmitz

2011-07-22 16:23

administrator   ~15841

New 1.91+ version released

Issue History

Date Modified Username Field Change
2011-07-07 13:28 jelo New Issue
2011-07-07 13:28 jelo Status new => assigned
2011-07-07 13:28 jelo Assigned To => lemeur
2011-07-07 14:34 jelo Note Added: 15670
2011-07-07 14:49 jelo Note Edited: 15670
2011-07-09 20:05 lemeur Status assigned => confirmed
2011-07-09 20:36 lemeur Note Added: 15705
2011-07-09 20:36 lemeur Status confirmed => resolved
2011-07-09 20:36 lemeur Fixed in Version => 1.91+
2011-07-09 20:36 lemeur Resolution open => fixed
2011-07-22 16:23 c_schmitz Note Added: 15841
2011-07-22 16:23 c_schmitz Status resolved => closed