View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16717 | Bug reports | Survey participants (Tokens) | public | 2020-10-02 16:16 | 2021-03-11 17:40 |
Reporter | Selcal | Assigned To | ollehar | ||
Priority | none | Severity | partial_block | ||
Status | assigned | Resolution | open | ||
Product Version | 3.22.25 | ||||
Summary | 16717: Survey opened twice at same time causes double database entry and makes results blank | ||||
Description | When a survey is opened twice at virtually the same time, a double database entry is created in the survey_xxxxxx database. They each have the same token, but a different seed. The first one will have all null answers/datetime/etc, the other contains the correct actual submitted information. Occurred since I've been using LimeSurvey 3.x in many previous versions before, and at this moment also occurs on my 4.x (now running 4.3.18). | ||||
Steps To Reproduce |
Alternatively:
The above is easier to reproduce if the survey is not cached yet; loading takes longer and the timeframe for this issue to occur is bigger. | ||||
Additional Information | Background: I mostly provide invite/survey for third parties making it hard to get in touch with end users. Sometimes results would not show up and I found the double entries. I wrote a cron to detect them and remove the orphaned entries. This allowed me to keep track of occurrences which were relatively regular (1% or so). Turns out some end-users have Outlook in their company network, but sometimes also use Outlook web. The users on occasion, and out of habit, double-clicked in web outlook, opening the survey twice at virtually the same time. It then occurred to me that this may trigger the issue. And then I could reproduce it. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 3.22.25 and 4.3.18 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MariaDB, 10.3.23 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.4.9 | ||||
You're using an outdated version of LimeSurvey. Please update to the latest version and check if the bug can still be reproduced. Thank you. |
|
I can still reproduce this with 4.4.12 210308. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-02 16:16 | Selcal | New Issue | |
2020-10-02 16:17 | Selcal | Issue Monitored: Selcal | |
2021-03-10 17:14 | ollehar | Assigned To | => ollehar |
2021-03-10 17:14 | ollehar | Status | new => feedback |
2021-03-10 17:14 | ollehar | Note Added: 63065 | |
2021-03-11 17:40 | Selcal | Note Added: 63313 | |
2021-03-11 17:40 | Selcal | Status | feedback => assigned |