View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11282Bug reportsSurvey participants (Tokens)public2018-02-22 14:18
Reporterdgimeno Assigned Toc_schmitz  
PrioritynoneSeverityblock 
Status closedResolutionno change required 
Product Version2.50.x 
Target Version2.50.x 
Summary11282: Multiple delete causes delete controller launch twice.
Description

When admin lists participants and select one of them and delete it, using the lower multiple delete button, the traces indicate that admin/controller/tokens.php, method delete runs twice.

This affects to Auditlog plugin, which tries to log a second non-existent token.

Steps To Reproduce

Afeter adding a log trace in the first line of admin/controller/tokens.php in delete method.
error_log ("Starting delete!"); // Line 932. Method delete

1.- list particpants of a survey
2.- select one
3.- delete using lower button multiple delete.

Everything seems to go right, but Apache logs shows:

[Fri May 27 12:26:31.742496 2016] [:error] [pid 3542] [client 127.0.0.1:41605] Starting delete!, referer: http://local.lsf/index.php/admin/tokens/sa/browse/surveyid/969432
[Fri May 27 12:26:31.919365 2016] [:error] [pid 5638] [client 127.0.0.1:41607] Starting delete!, referer: http://local.lsf/index.php/admin/tokens/sa/browse/surveyid/969432

Additional Information

It seems that when is deleted first is launched:
http://local.lsf/index.php/admin/tokens/sa/delete/surveyid/969432

and after that:
http://local.lsf/index.php/admin/tokens/sa/getTokens_json/surveyid/969432

with a post var 'oper' with 'del' value, which causes this second delete call.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)82991d88fa83f05ab17447d8b63a
I will donate to the project if issue is resolvedNo
BrowserFirefox 44
Database type & versionPostgresql 9.1 + dbversionnumber 258;
Server OS (if known)Ubuntu 14.04
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 5.6.20

Users monitoring this issue

aesteban

Activities

c_schmitz

c_schmitz

2016-05-27 20:58

administrator   ~38982

Please don't report bugs for development versions, only for actually released builds.

Issue History

Date Modified Username Field Change
2016-05-27 12:35 dgimeno New Issue
2016-05-27 20:56 c_schmitz Sticky Issue No => Yes
2016-05-27 20:58 c_schmitz Note Added: 38982
2016-05-27 20:58 c_schmitz Status new => closed
2016-05-27 20:58 c_schmitz Assigned To => c_schmitz
2016-05-27 20:58 c_schmitz Resolution open => no change required
2016-05-28 18:24 aesteban Issue Monitored: aesteban
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)
2018-02-22 14:18 c_schmitz Sticky Issue Yes => No