View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15924 | Bug reports | Survey participants (Tokens) | public | 2020-02-27 10:59 | 2020-06-05 06:17 |
Reporter | acran | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.1.7 | ||||
Summary | 15924: Can not send invitations to imported participants where emailstatus IS NULL | ||||
Description | After importing participants from CSV with an empty or omitted emailstatus trying to send invitation e-mails ends up with an error message although all listed criteria are actually fulfilled: There were no eligible emails to send. This will be because none satisfied the criteria of:
| ||||
Steps To Reproduce |
| ||||
Additional Information | I figured that after clicking edit on a affected particpant and saving it without doing any changes the invitations do work. Looking at the database contents I found that the problem is that after importing the "emailstatus" column is set to NULL. Manually editting and saving "wihtout changes" sets it to an empty string though and after this it works. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 4.1.7 10454b9ffd90dd23c1673253199051a145dc97f9 (current GitHub master) | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5.7.29 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.2.24 | ||||
Submitted a Pull Request: https://github.com/LimeSurvey/LimeSurvey/pull/1395 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29993 |
|
Thank you :) |
|
Fixed in Release 4.2.6+200602 |
|
LimeSurvey: master 5fc29f43 2020-05-26 17:00 Committer: GitHub Details Diff |
Fixed issue 15924: Can not send invitations to imported participants where emailstatus IS NULL (#1395) Dev: although the WHERE condition "emailstatus <> 'OptOut'" *intuitively* should match everything that is not equal to "OptOut" it actually does *not* match NULL values in MySQL since it is not NULL-safe. Dev: This is related to 15772 and 15823 since emailstatus should not be NULL in the first place. |
Affected Issues 15924 |
|
mod - application/controllers/admin/tokens.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-27 10:59 | acran | New Issue | |
2020-02-27 10:59 | acran | File Added: participants.csv | |
2020-02-27 11:18 | acran | Note Added: 56231 | |
2020-05-26 15:00 | acran | Changeset attached | => LimeSurvey master 5fc29f43 |
2020-05-26 15:00 | guest | Note Added: 58039 | |
2020-05-26 15:58 | DenisChenu | Note Added: 58043 | |
2020-06-05 06:17 | lime_release_bot | Note Added: 58186 | |
2020-06-05 06:17 | lime_release_bot | Status | new => closed |
2020-06-05 06:17 | lime_release_bot | Resolution | open => fixed |