View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15870Bug reportsExpression Managerpublic2021-05-17 07:50
Reporterollehar Assigned To 
PrioritylowSeverityminor 
Status confirmedResolutionopen 
Product Version3.22.4 
Target Version3.x 
Summary15870: Show warning if a (sub-) question has empty expression
DescriptionExpression should never be empty. Either 0, 1, or a proper expression.
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)latest master
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2021-05-11 17:17

developer   ~64356

?

> Expression should never be empty. Either 0, 1, or a proper expression.

No : like relevance equation : empty mean default mean true.
ollehar

ollehar

2021-05-11 17:19

administrator   ~64357

Empty does not communicate intent.
DenisChenu

DenisChenu

2021-05-17 07:50

developer   ~64422

Maybe, but it's integrated soince years currently. And seems clear enough to didn't have any forum post with "Why when it's empty : it's not shown"

For simple user (not dev) : empty string mean «default» seems clear enough.

Why not a "placeholder" to 1 ?
A placeholder is clear enough in my opinion.

Issue History

Date Modified Username Field Change
2020-02-13 17:05 ollehar New Issue
2020-02-13 17:05 ollehar Priority none => normal
2020-02-22 20:19 cdorin Priority normal => low
2020-02-22 20:19 cdorin Status new => confirmed
2021-05-11 17:17 DenisChenu Note Added: 64356
2021-05-11 17:19 ollehar Note Added: 64357
2021-05-17 07:50 DenisChenu Note Added: 64422