View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
03700Bug reportsSurvey editingpublic2009-09-22 00:58
Reporteruser4941Assigned Tolemeur  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.85+ 
Summary03700: cannot test for empty token value in condition.
Description

When adding a condition and testing for empty value (by an empty Constant) of TOKEN:email no condition is added. (and adding '''' as the constant does not work either.)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2009-09-20 09:07

developer   ~09614

there are 2 issues here:

  • First one is the way I implemented the condition editor: if the "Constant" (or "Regexp") textarea is empty we consider the conidtion uses another kind of comparison value
    ==> this is because the condition editor doens't send the name of the tab beeing selected so we only use the values of input elements

==> a proposed workaround would be to use the "^$" regexp but if we use this we encounter another issue:

  • This second issue is due to the fact that empty values or " " (white spaces) are used as a tag for 'No Answer' and are processed as a special case. This makes the "^$" regexp impossible to use.

I guess the best fix would be to modify the condition editor so that it sends teh name of the tab beeing selected.

lemeur

lemeur

2009-09-20 10:04

developer   ~09615

Fixed in rev 7665.

Thanks for this feedback.

Issue History

Date Modified Username Field Change
2009-09-17 21:37 user4941 New Issue
2009-09-17 21:37 user4941 Status new => assigned
2009-09-17 21:37 user4941 Assigned To => user372
2009-09-18 02:13 user372 Assigned To user372 => lemeur
2009-09-20 09:07 lemeur Note Added: 09614
2009-09-20 09:07 lemeur Status assigned => acknowledged
2009-09-20 10:04 lemeur Note Added: 09615
2009-09-20 10:04 lemeur Status acknowledged => resolved
2009-09-20 10:04 lemeur Fixed in Version => 1.85+
2009-09-20 10:04 lemeur Resolution open => fixed
2009-09-22 00:58 c_schmitz Status resolved => closed
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing