View Issue Details

This bug affects 2 person(s).
 10
IDProjectCategoryView StatusLast Update
19419Bug reportsSurvey participants (Tokens)public2025-04-22 22:27
Reporterinesro Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status ready for code reviewResolutionopen 
Product Version6.4.x 
Summary19419: batch editing in the participants table - "invitation sent","reminder sent" & "completed" fields are filled out unintentionally
Description

When I try to batch edit a selected number of participants inside the participants table, e.g. I want to edit a specific attribute of these tokens, the fields "invitation sent","reminder sent" & "completed" are filled out with todays date 00:00 (e.g. 14.02.2024 00:00), although I did not check those boxes or change anything in those fields.

This bugs keeps happening on an irregular basis, approximately every 3rd-4th time I edit some participants with batch edit which makes it a bit hard to track and describe.

When the "completed?" field of a token (with usesleft 1) is filled out with a date, the token becomes invalid, because LimeSurvey thinks it was already used (although "usesleft" is still 1).
This has already given us a few nasty surprises, as numerous tokens became invalid in the middle of the field phase.

In the attached .lsa archive I tried to reproduce the bug. Through the first 3 batch edits the bug did not occur. In round no. 4 the bug occured (tokens 1-7). When you click onto "edit this participant" you can see, that the date is filled out with "14.02.2024 00:00" and usesleft ist still 1.

Steps To Reproduce

Steps to reproduce

1) use attached .lsa archive or any other participants table
2) use batch edit function in survey participants table and edit any attribute.
DO NOT check or fill out the fields "invitation sent","reminder sent" & "completed"
3) Repeat this for various times (because bug only occurs from time to time)

Expected result

Expected: only the attribute fields you edited purposely change, everything else stays the same

Actual result

actual result: "invitation sent","reminder sent" & "completed" are filled out with todays date 00:00 (e.g. 14.02.2024 00:00)

TagsNo tags attached.
Attached Files
14-02-2024_13-47-48.jpg (114,367 bytes)
14-02-2024_13-48-09.jpg (89,782 bytes)   
14-02-2024_13-48-09.jpg (89,782 bytes)   
Bug heat10
Complete LimeSurvey version number (& build)Version 6.2.4+240212
I will donate to the project if issue is resolvedYes
BrowserFirefox 122.0.1 (64-Bit
Database type & versionmysql 5.7.42
Server OS (if known)
Webserver software & version (if known)
PHP Version8.1.23

Users monitoring this issue

There are no users monitoring this issue.

Activities

Haris.Pap

Haris.Pap

2025-03-17 13:31

reporter   ~82258

In my case, as soon as participants are batch-edited and the completed-field is set to "No", the related database entry remains empty instead of "N".
The Invitation-sent and reminder-sent fields are affected the same way, too.
Screenshots attached.
(tested with LimeSurvey Community Edition Version 6.10.0+250106)

Database behaviour.PNG (17,750 bytes)   
Database behaviour.PNG (17,750 bytes)   
not valid message.PNG (29,240 bytes)   
not valid message.PNG (29,240 bytes)   
gabrieljenik

gabrieljenik

2025-04-22 22:26

manager   ~82464

https://github.com/LimeSurvey/LimeSurvey/pull/4248

Addressing the comment https://bugs.limesurvey.org/view.php?id=19419#c82258
The main issue couldn't be reproduced.

gabrieljenik

gabrieljenik

2025-04-22 22:27

manager   ~82465

@inesro I am sorry, couldn't reproduce it. Please give it a try after this gets released. Thanks

Issue History

Date Modified Username Field Change
2024-02-14 14:25 inesro New Issue
2024-02-14 14:25 inesro File Added: survey_archive_662191.lsa
2024-02-14 14:25 inesro File Added: 14-02-2024_13-47-48.jpg
2024-02-14 14:25 inesro File Added: 14-02-2024_13-48-09.jpg
2025-03-17 13:12 guest Bug heat 0 => 6
2025-03-17 13:31 Haris.Pap Note Added: 82258
2025-03-17 13:31 Haris.Pap File Added: participants UI upon batch edit.PNG
2025-03-17 13:31 Haris.Pap File Added: Database behaviour.PNG
2025-03-17 13:31 Haris.Pap File Added: not valid message.PNG
2025-03-17 13:31 Haris.Pap Bug heat 6 => 8
2025-04-07 16:54 tibor.pacalat Assigned To => gabrieljenik
2025-04-07 16:54 tibor.pacalat Status new => assigned
2025-04-22 22:26 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-04-22 22:26 gabrieljenik Status assigned => ready for code review
2025-04-22 22:26 gabrieljenik Note Added: 82464
2025-04-22 22:26 gabrieljenik Bug heat 8 => 10
2025-04-22 22:27 gabrieljenik Note Added: 82465