View Issue Details

This bug affects 2 person(s).
 10
IDProjectCategoryView StatusLast Update
18830Bug reports_ Unknownpublic2024-05-20 04:18
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 heat10
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

There are no users monitoring this issue.

Activities

rgraf

rgraf

2024-04-25 08:01

reporter   ~79997

The same error for me : Could not correctly parse "{dateSTA}" to a date for restrictions.minDate.

Linux raspberry 6.1.31-v8.1
AlmaLinux release 8.8 (Sapphire Caracal)
PHP Version 8.0.30
mysql Ver 15.1 Distrib 10.3.39-MariaDB, for Linux (aarch64) using readline 5.1

Firefox125.0.1 (64 bits) --safe-mode

rgraf

rgraf

2024-04-25 08:07

reporter   ~79998

version of noted errro LimeSurvey Community Edition Version 6.5.4+240422

rgraf

rgraf

2024-04-25 08:53

reporter   ~79999

It only works if you put the question on another group that means on the next page

truthslob

truthslob

2024-05-20 04:18

reporter   ~80131

Have you found a way to fix this error?
https://bugs.limesurvey.org/view.php?id=18873 https://geometrydash-free.io/

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
2024-04-25 08:01 rgraf Note Added: 79997
2024-04-25 08:01 rgraf Bug heat 0 => 8
2024-04-25 08:07 rgraf Note Added: 79998
2024-04-25 08:53 rgraf Note Added: 79999
2024-05-20 04:18 truthslob Note Added: 80131
2024-05-20 04:18 truthslob Bug heat 8 => 10