View Issue Details

IDProjectCategoryView StatusLast Update
16635Bug reportsOtherpublic2020-09-15 01:48
ReporterMeirOverferst Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version4.3.14 
Summary16635: Timer not working when survey is active (when executing the survey multiple times in the same browser/tab)
Description

Timer not working when survey is active (when executing the survey multiple times in the same browser/tab)

Steps To Reproduce

Please import the survey and check it

TagsNo tags attached.
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionirrelevant
Server OS (if known)
Webserver software & version (if known)
PHP Versionirrelevant

Relationships

related to 16634 assignedgabrieljenik Timer not getting reset after completion of the survey (running multiple surveys on the same browser) 

Activities

MeirOverferst

MeirOverferst

2020-09-02 18:09

reporter  

gabrieljenik

gabrieljenik

2020-09-15 01:48

developer   ~59801

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1592

Each timer registers itself in a local storage item identified by the Survey ID.
This is used by the reset function to know which timers belong to the survey and are to be reset.
The reset method was replaced by a function (in survey.js instead of timer.js) that reset all timers for a given survey.
Also reviewed the reset method for preview mode.

Issue History

Date Modified Username Field Change
2020-09-02 18:09 MeirOverferst New Issue
2020-09-02 18:09 MeirOverferst File Added: limesurvey_survey_336813.lss
2020-09-02 18:10 cdorin Relationship added related to 16634
2020-09-02 18:11 cdorin Assigned To => gabrieljenik
2020-09-02 18:11 cdorin Status new => assigned
2020-09-02 18:11 cdorin Steps to Reproduce Updated View Revisions
2020-09-15 01:48 gabrieljenik Note Added: 59801