View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
12012Bug reportsSurvey participants (Tokens)public2017-01-06 12:14
ReporterDenisChenu Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.56.x 
Target Version2.57.xFixed in Version2.57.x 
Summary12012: Partcipant with invalid email are silently deleted
Description

When try to add manually a token : put all information : particpant is not added if email is invalid.
Same when editing a participant : invalid email : nothing is saved

And 2 times : LS show 'success'

Steps To Reproduce

Go to any survey, activate token

  • Create a new poarticpant ; Last name : example, email : user@example
    Save : See 'Success', look at your DB : nothing

Create a new Last name : example, email : user@example.org
Save : OK added,
Click on edit , set first name to example, email to user@example
Save : see success, look at your DB : not updated

Additional Information

Invalid email must be an option, always : exemple:

  • Internal server
  • email without domain : automatically adding a domain (linux server does it by defayult : sending to local user)
  • You can not add root/admin/user1 etc ... in email.
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)2.57.2
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5
Server OS (if known)debian7
Webserver software & version (if known)apache
PHP VersionPHP Version 5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-12-20 16:04

administrator   ~42574

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

ollehar

ollehar

2016-12-20 17:22

administrator   ~42575

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

c_schmitz

c_schmitz

2017-01-06 12:14

administrator   ~42647

New version released.

Related Changesets

LimeSurvey: master c98afd6e

2016-12-20 17:04

ollehar


Details Diff
Fixed issue 12012: Partcipant with invlaid email are silently deleted Affected Issues
12012
mod - application/controllers/admin/tokens.php Diff File
mod - application/views/admin/token/addtokenpost.php Diff File

LimeSurvey: master 3e9afbdc

2016-12-20 18:22

ollehar


Details Diff
Fixed issue 12012: Partcipant with invlaid email are silently deleted

Dev: Use AjaxHelper to show confirmation when updating token
Affected Issues
12012
mod - application/controllers/admin/tokens.php Diff File
mod - scripts/admin/tokens.js Diff File

Issue History

Date Modified Username Field Change
2016-12-19 20:04 DenisChenu New Issue
2016-12-19 20:05 DenisChenu Description Updated
2016-12-20 13:35 ollehar Assigned To => ollehar
2016-12-20 13:35 ollehar Status new => assigned
2016-12-20 13:37 ollehar Target Version => 2.57.x
2016-12-20 16:04 ollehar Changeset attached => LimeSurvey master c98afd6e
2016-12-20 16:04 ollehar Note Added: 42574
2016-12-20 16:04 ollehar Resolution open => fixed
2016-12-20 16:40 DenisChenu Summary Partcipant with invlaid email are silently deleted => Partcipant with invalid email are silently deleted
2016-12-20 17:22 ollehar Changeset attached => LimeSurvey master 3e9afbdc
2016-12-20 17:22 ollehar Note Added: 42575
2016-12-20 17:23 ollehar Status assigned => resolved
2016-12-20 17:23 ollehar Fixed in Version => 2.57.x
2017-01-06 12:14 c_schmitz Note Added: 42647
2017-01-06 12:14 c_schmitz Status resolved => closed