View Issue Details

IDProjectCategoryView StatusLast Update
16638Bug reportsSurvey editingpublic2021-04-01 08:06
Reporterpalmin Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status confirmedResolutionopen 
Product Version4.3.5 
Summary16638: EXPIRY keyword does not work in Survey description
DescriptionSee https://forums.limesurvey.org/forum/installation-a-update-issues/122213-expiry-keyword-does-not-work-in-survey-description#204866

I wanted to show the expiration date which is set for the survey in the description that is shown to the users when starting the survey.

In the text editor for the Description field, it is possible to enter the keyword from the menu.

The problem is that when starting the survey, the description field does not expand the expiration date, but just shows a red EXPIRY label with a tooltip "Undefined variable":
Steps To Reproduce* Import attached lss file
* Start Survey
* Open Survey
* Check description
TagsNo tags attached.
Complete LimeSurvey version number (& build)4.3.5
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionUnknown
Server OS (if known)
Webserver software & version (if known)
PHP VersionUnknown

Activities

palmin

palmin

2020-09-03 18:52

reporter  

DenisChenu

DenisChenu

2020-12-23 09:32

developer   ~61067

Unsure we need it ?
1. You edit text at same time than expiry date
2. Data muts be shown with specific language part : long day, long month etc …

Else : a plugin can easily add it : https://github.com/LimeSurvey/LimeSurvey/blob/6475d0cbc17d3f039398c256c5f0cac7d2569efc/application/core/plugins/expressionFixedDbVar/expressionFixedDbVar.php#L86
cdorin

cdorin

2021-02-01 16:03

manager   ~61848

Last edited: 2021-04-01 08:06

Hey there - could you please check if the issue persists in LS4.4 ?
c_schmitz

c_schmitz

2021-04-01 08:05

administrator   ~63770

Last edited: 2021-04-01 08:06

I can confirm that this worked in LS3 but does not work in the latest LS4 version.

Issue History

Date Modified Username Field Change
2020-09-03 18:52 palmin New Issue
2020-09-03 18:52 palmin File Added: 2020-09-03 15_17_21-LimeSurvey.png
2020-09-03 18:52 palmin File Added: 2020-09-03 15_20_27-My Test Survey.png
2020-09-03 18:52 palmin File Added: limesurvey_survey_394968.lss
2020-12-22 17:33 cdorin Status new => confirmed
2020-12-22 17:33 cdorin Priority none => normal
2020-12-23 09:32 DenisChenu Note Added: 61067
2021-02-01 16:03 cdorin Status confirmed => feedback
2021-02-01 16:03 cdorin Note Added: 61848
2021-04-01 08:05 c_schmitz Assigned To => c_schmitz
2021-04-01 08:05 c_schmitz Status feedback => confirmed
2021-04-01 08:05 c_schmitz Note Added: 63770