View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
18830Bug reports_ Unknownpublic2023-08-07 16:39
Reporterandre_ars Assigned Top_teichmann  
PrioritynoneSeveritypartial_block 
Status confirmedResolutionopen 
Product Version6.0.x 
Summary18830: Question Type Date, min field with early question code fails
Description

Question Type Date, min field with early question code fails

On the browser side the following error appears:

popper-tempus.min.js:1 Uncaught Error: TD: Could not correctly parse "{Q1}" to a date for restrictions.minDate.
at Object.failedToParseDate (popper-tempus.min.js:1:30920)
at c.dateConversion (popper-tempus.min.js:1:42589)
at c.processKey (popper-tempus.min.js:1:38533)
at popper-tempus.min.js:1:37920
at Array.forEach (<anonymous>)
at c.spread (popper-tempus.min.js:1:37621)
at popper-tempus.min.js:1:38041
at Array.forEach (<anonymous>)
at c.spread (popper-tempus.min.js:1:37621)

Steps To Reproduce

Steps to reproduce

create two consecutive date questions. on the second question change the min data to question id one

Expected result

should appear the date pop up limited to the date selected on the first question

Actual result

no date pop up, java error on console

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.07
I will donate to the project if issue is resolvedYes
BrowserEdge & Firefox
Database type & versionMariaDB
Server OS (if known)CentOS
Webserver software & version (if known)Apache
PHP Version7.4

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-05-18 18:47 andre_ars New Issue
2023-05-22 10:19 p_teichmann Assigned To => p_teichmann
2023-05-22 10:19 p_teichmann Status new => confirmed
2023-08-07 16:39 gabrieljenik Severity block => partial_block