View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06559Bug reportsSurvey participants (Tokens)public2012-10-02 17:15
Reporteraimeemax Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version2.00+ 
Summary06559: batch emails to selected boxes not batching but trying to send to everyone
Description

You know how you can click the little boxes and choose selected people to receive an invitation to a survey from your tokens table.
When I do it, instead of sending just to the people I've selected (or even to those people and others) the system instead tries to send invites to everyone in the tokens table.

It seems to work ok when I choose the 50 default shown. But when I choose to show more than the 50 (like 500), then the system tries to send to the whole 2000 people in the table.

Steps To Reproduce
  1. Have more than 50 tokens in the list
  2. Change the list shown to starting at 50, 450 shown
  3. Click the little box at the top of the list to select all tokens in the list
  4. Click on the little envelope at the bottom of the list to send emails just to those tokens selected
  5. Click "Send invitations"
  6. Freak out as it sends to everybody in the whole list. (Hooray for batches because I could stop it.)
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)1.92
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

aimeemax

aimeemax

2012-09-16 15:38

reporter   ~20713

I just noticed that when I only have the default 50 selected (so I went back, clicked the arrow and went forward 50 records to the next 50, records 51-100) it sent properly to the people I selected! So the issue seems to be when I have selected more than 50.

c_schmitz

c_schmitz

2012-10-01 15:29

administrator   ~20954

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

bradummer

bradummer

2012-10-02 00:12

reporter   ~20959

I was having this problem for lists smaller than 50. Specifically, I have a list of 10 people. I select 2 of the people. I click the icon to send the emails to the selected people. It sends it to all 10 people. Do you know if the fix that you made will address my issue as well?

c_schmitz

c_schmitz

2012-10-02 08:13

administrator   ~20962

Yes, should do.

c_schmitz

c_schmitz

2012-10-02 17:15

administrator   ~20990

New Version 2.00+ Build 121002 released. If you are using 120926 or later you should be able to update by ComfortUpdate. All earlier versions need to update manually.

Related Changesets

LimeSurvey: master 74ec1be9

2012-10-01 08:28

c_schmitz


Details Diff
Fixed issue 06559: Batch emails to selected boxes not batching but trying to send to everyone Affected Issues
06559
mod - application/controllers/admin/tokens.php Diff File

Issue History

Date Modified Username Field Change
2012-09-16 15:33 aimeemax New Issue
2012-09-16 15:38 aimeemax Note Added: 20713
2012-10-01 15:06 c_schmitz Assigned To => c_schmitz
2012-10-01 15:06 c_schmitz Status new => assigned
2012-10-01 15:29 c_schmitz Changeset attached => LimeSurvey master 74ec1be9
2012-10-01 15:29 c_schmitz Note Added: 20954
2012-10-01 15:29 c_schmitz Resolution open => fixed
2012-10-01 15:29 c_schmitz Status assigned => resolved
2012-10-01 15:29 c_schmitz Fixed in Version => 2.00+
2012-10-02 00:12 bradummer Note Added: 20959
2012-10-02 08:13 c_schmitz Note Added: 20962
2012-10-02 17:15 c_schmitz Note Added: 20990
2012-10-02 17:15 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)