View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19417Bug reportsSurvey editingpublic2024-02-14 14:26
Reporterriqcles Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.4.x 
Summary19417: Questionnaire expiry date:
Description

If we set the expiration date less than one hour (ex: 8:10 p.m.) than the current time (ex: 8:30 p.m.), the questionnaire goes to end status.
If you indicate one hour less (ex: 7:10 p.m.) the questionnaire appears in disabled status

But the expired indication only appears in the list of questionnaires, not in the questionnaire itself
If we choose the stop this questionnaire button and the questionnaire is active, we are asked to press the deactivate questionnaire button.

At this time the questionnaire goes into deactivated mode and the deactivation time is automatically set one hour less.
In all cases the disabled status does not appear in the overview.

Steps To Reproduce

Steps to reproduce

choose an existing questionnaire
indicate an expiration date with the current time.
change the expiration date by decreasing the time by a few minutes
check in the list of questionnaires if the questionnaire is in expired status

Expected result

expired questionnaire

Actual result

questionnaire with an end date and time
and always accessible

link video in french :
https://drive.google.com/file/d/1tfpKGInyA-FKwCKdmKT-lK68OTVrJi1R/view

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.4.5+240205
I will donate to the project if issue is resolvedNo
BrowserFirefox / opera / chrome
Database type & versionPostgresql 15
Server OS (if known)centos 7.9
Webserver software & version (if known)Apache/2.4. (CentOS) PHP/8.2
PHP VersionPHP Version 8.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

tibor.pacalat

tibor.pacalat

2024-02-14 14:06

administrator   ~79492

@riqcles did you set the time correction?

What I am observing, if I set the correction time to my current time (in the screenshot +1, 13:57) -> then at 13:57 the survey can not be accessed any more.
But, what is wrong is that the survey list doesn't reflect this. You need to set the expiration time to in my case to 12:57 to see expired in the survey list.
The issue is probably because this is calculated with the server time and not corrected time.

riqcles

riqcles

2024-02-14 14:26

reporter   ~79493

actually if I modify the date in the global part by adding a time it will work the questionnaire will be expired.
But it will still appear in the list of questionnaires with a late status and not expired.
For me I should not modify this date since the server and limesurvey dates are identical: see screenshot

And in the questionnaire the stop survey button no longer becomes expired questionnaire (an evolution? or regression, because now we risk pressing this button when wanting to stop it)

Issue History

Date Modified Username Field Change
2024-02-14 13:28 riqcles New Issue
2024-02-14 14:06 tibor.pacalat Note Added: 79492
2024-02-14 14:06 tibor.pacalat File Added: Screenshot 2024-02-14 at 13.58.01.png
2024-02-14 14:06 tibor.pacalat Bug heat 0 => 2
2024-02-14 14:26 riqcles Note Added: 79493
2024-02-14 14:26 riqcles File Added: 2024-02-14 14_17_58-WinSSHTerm.png
2024-02-14 14:26 riqcles File Added: 2024-02-14 14_17_30-GALILEO - Opera.png
2024-02-14 14:26 riqcles Bug heat 2 => 4