View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
15870Bug reportsExpression Managerpublic2026-10-13 11:50
Reporterollehar Assigned Toc_schmitz  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version3.22.4 
Summary15870: Show warning if a (sub-) question has empty expression
Description

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

TagsNo tags attached.
Bug heat8
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-
Git branch / Pull Request URL

Users monitoring this issue

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

reporter   ~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.

c_schmitz

c_schmitz

2026-10-12 20:11

administrator   ~86345

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

LimeBot

LimeBot

2026-10-13 11:50

administrator   ~86421

Fixed in Release 7.6.0+261013

Related Changesets

LimeSurvey: master 1abeeb69

2026-10-12 20:11

c_schmitz


Details Diff
Fixed issue 15870: Empty condition fields did not show that they default to 1 (always shown)
Dev Added placeholder "1" to question, subquestion and group relevance inputs
Affected Issues
15870
mod - application/extensions/GeneralOptionWidget/settings/RelevanceEquationGeneralOption.php Diff File
mod - application/extensions/GeneralOptionWidget/views/textarea.php Diff File
mod - application/views/questionAdministration/subquestionRow.twig Diff File
mod - application/views/questionGroupsAdministration/addGroup_view.php Diff File
mod - application/views/questionGroupsAdministration/editGroup_view.php Diff File

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
2026-10-12 20:11 c_schmitz Changeset attached => LimeSurvey master 1abeeb69
2026-10-12 20:11 c_schmitz Note Added: 86345
2026-10-12 20:11 c_schmitz Assigned To => c_schmitz
2026-10-12 20:11 c_schmitz Status confirmed => resolved
2026-10-12 20:11 c_schmitz Resolution open => fixed
2026-10-12 20:11 c_schmitz Bug heat 4 => 6
2026-10-13 11:50 LimeBot Note Added: 86421
2026-10-13 11:50 LimeBot Status resolved => closed
2026-10-13 11:50 LimeBot Bug heat 6 => 8