View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19028Bug reportsSurvey participants (Tokens)public2023-08-24 17:30
Reporterkfoster Assigned Tokfoster  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version5.6.x 
Fixed in Version6.2.x 
Summary19028: Send email only to participants with partial responses - should not be available for anonymous surveys
Description

The query to find partial complete responses looks up the response using the participant token value but when the response is anonymous there is no token column in the survey response table. It is not possible to send a reminder to participants who have partially completed an anonymous survey because an anonymous survey has no way to link the participant with a response.

Steps To Reproduce

Steps to reproduce

  1. Create a closed anonymous survey
  2. Add a participant and sent the invitation
  3. Partially complete the survey as the participant (answer a question but don't complete the survey)
  4. Attempt to resent invitations using the "Send email only to participants with partial responses"

Expected result

The "Send email only to participants with partial responses" option should be disabled for anonymous surveys. With a tooltip explanation.

Actual result

An SQL error will cause the request to fail.

The query to find partial complete responses looks up the response using the participant token value but when the response is anonymous there is no token column in the survey response table.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.6.31
I will donate to the project if issue is resolvedNo
Browser
Database type & version447
Server OS (if known)
Webserver software & version (if known)
PHP Version7.25

Users monitoring this issue

There are no users monitoring this issue.

Activities

kfoster

kfoster

2023-08-21 11:44

developer   ~76655

Fixed in commit d6617e917c079929d213b9b560bd967edaf536c8

guest

guest

2023-08-21 11:51

viewer   ~76656

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35372

kfoster

kfoster

2023-08-21 12:50

developer   ~76660

This still needs to be back ported to 5.x and 3.x.

oystersold

oystersold

2023-08-23 03:36

reporter   ~76675

i think so too

guest

guest

2023-08-24 17:28

viewer   ~76700

Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35395

kfoster

kfoster

2023-08-24 17:30

developer   ~76701

Back ported to 5.x: 70c2648cd3a3
This feature doesn't exist in 3.x so no back-port required.

Related Changesets

LimeSurvey: master d6617e91

2023-08-21 13:43

Kevin Foster


Details Diff
Fixed issue 19028 Affected Issues
19028
mod - application/extensions/ButtonGroupWidget/views/buttongroup.php Diff File
mod - application/views/admin/token/remind.php Diff File

LimeSurvey: 5.x 70c2648c

2023-08-24 19:27

Kevin Foster


Details Diff
Fixed issue 19028: Send email only to participants with partial responses - should not be available for anonymous surveys Affected Issues
19028
mod - application/views/admin/token/remind.php Diff File

Issue History

Date Modified Username Field Change
2023-08-17 15:32 kfoster New Issue
2023-08-21 10:06 kfoster Steps to Reproduce Updated
2023-08-21 10:06 kfoster Assigned To => kfoster
2023-08-21 10:06 kfoster Status new => assigned
2023-08-21 11:44 kfoster Status assigned => resolved
2023-08-21 11:44 kfoster Resolution open => fixed
2023-08-21 11:44 kfoster Fixed in Version => 6.2.x
2023-08-21 11:44 kfoster Note Added: 76655
2023-08-21 11:44 kfoster Bug heat 0 => 2
2023-08-21 11:44 kfoster Status resolved => closed
2023-08-21 11:51 Changeset attached => LimeSurvey master d6617e91
2023-08-21 11:51 guest Note Added: 76656
2023-08-21 11:51 guest Bug heat 2 => 4
2023-08-21 12:50 kfoster Status closed => confirmed
2023-08-21 12:50 kfoster Note Added: 76660
2023-08-23 03:36 oystersold Note Added: 76675
2023-08-23 03:36 oystersold Bug heat 4 => 6
2023-08-24 11:42 kfoster Assigned To kfoster =>
2023-08-24 17:28 Changeset attached => LimeSurvey 5.x 70c2648c
2023-08-24 17:28 guest Note Added: 76700
2023-08-24 17:30 kfoster Assigned To => kfoster
2023-08-24 17:30 kfoster Status confirmed => closed
2023-08-24 17:30 kfoster Note Added: 76701