View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
11402Bug reportsCentral participant databasepublic2016-07-14 15:42
Reporterradhwaw Assigned Toaesteban  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11402: Cannot Delete Participant in CPDB
Description

The deletion process of participants in CPDB doesn't work. It shows 500 Internal Server Error and when I activate the debug mode, it shows the following error:
Fatal error: Cannot instantiate abstract class Token in C:\xampp\htdocs\framework\db\ar\CActiveRecord.php on line 395

Steps To Reproduce
  1. Go To Central Participant Database
  2. Select participants
  3. Click Delete
Additional Information

I use HTTPS environment and set the config file as follows:

'session' => array(
'cookieParams' => array(
'secure' => true,
'httponly' => true
),
),

'request'=>array(
'enableCsrfValidation'=>true,
'enableCookieValidation'=>true,
'csrfCookie'=>array(
'secure' => true,
'httpOnly'=>true,
),
),

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)160616
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & versionMS SQL Server
Server OS (if known)Windows 7
Webserver software & version (if known)Apache 2.2.21
PHP Version5.3.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

radhwaw

radhwaw

2016-06-17 09:49

reporter   ~39663

I have also tried in non-HTTPS environment with standard configuration and the result is the same. We still can't delete the participant in CPDB.

c_schmitz

c_schmitz

2016-06-17 13:25

administrator   ~39674

I cannot reproduce this so I assume it is something with your set up.

LouisGac

LouisGac

2016-06-17 15:12

developer   ~39677

I change the priority to low until we have some feedback

radhwaw

radhwaw

2016-06-17 19:18

reporter   ~39688

I've just fresh-installed the limesurvey again and use MSSQL Server as the database. The setup was standard configuration and it still shows the error.

radhwaw

radhwaw

2016-06-17 19:40

reporter   ~39689

Last edited: 2016-06-17 19:45

Now I think I know what's the problem is. It's happened when I activate the auditLog plugin. Once I activated it, I cannot delete any participants in CPDB. I also checked in the limesurvey demo (https://demo.limesurvey.org/), activated the auditLog plugin and now the participant can't be deleted from CPDB (you can try it for yourself in limesurvey demo).

LouisGac

LouisGac

2016-06-20 12:27

developer   ~39700

Last edited: 2016-06-20 12:28

Bug confirmed : audit log plugin is doing that. Thank you for your analysis.

DenisChenu

DenisChenu

2016-06-20 12:47

developer   ~39706

Never work on audit log plugin

LouisGac

LouisGac

2016-06-20 13:40

developer   ~39707

ok

DenisChenu

DenisChenu

2016-06-20 13:58

developer   ~39712

Maybe see with aesteban/aestu http://tinyurl.com/jdjj6vo https://github.com/LimeSurvey/LimeSurvey/tree/master/plugins/AuditLog

c_schmitz

c_schmitz

2016-06-20 15:31

administrator   ~39727

Version 2.50 Build 160620 released

radhwaw

radhwaw

2016-06-20 17:02

reporter   ~39743

Has this issue been solved?

LouisGac

LouisGac

2016-06-20 17:12

developer   ~39746

radhaw : yes. as said by Denis up there, you should always turn off audit log plugin while working.

so we'll not fix it.

radhwaw

radhwaw

2016-06-20 17:13

reporter   ~39747

So it means that you will remove the audit log plugin from the limesurvey installation?

LouisGac

LouisGac

2016-06-20 17:22

developer   ~39749

If it were up to me, I'd remove all plugins from limesurvey basic installation.

LouisGac

LouisGac

2016-06-20 17:57

developer   ~39750

aesteba : maybe you can have a look?

aesteban

aesteban

2016-06-21 00:39

developer   ~39754

Yes, no problem

LouisGac

LouisGac

2016-06-21 12:00

developer   ~39769

thank you

aesteban

aesteban

2016-06-24 02:26

developer   ~39795

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

LouisGac

LouisGac

2016-06-24 10:09

developer   ~39796

+1

c_schmitz

c_schmitz

2016-07-14 15:42

administrator   ~39886

Version 2.50 Build 160714 released

Related Changesets

LimeSurvey: master 2daa0899

2016-06-24 02:20

aesteban


Details Diff
Fixed issue 11402: Cannot Delete Participant in CPDB

Dev: Commit e8f6f7 wrongly reused event names
Dev: Reverting previous code and adapting to new config options
Dev: Renaming new events
Affected Issues
11402
mod - application/controllers/admin/tokens.php Diff File
mod - plugins/AuditLog/AuditLog.php Diff File

Issue History

Date Modified Username Field Change
2016-06-17 09:46 radhwaw New Issue
2016-06-17 09:49 radhwaw Note Added: 39663
2016-06-17 13:17 c_schmitz Priority none => urgent
2016-06-17 13:25 c_schmitz Note Added: 39674
2016-06-17 15:11 LouisGac Sticky Issue No => Yes
2016-06-17 15:11 LouisGac Sticky Issue Yes => No
2016-06-17 15:11 LouisGac Priority urgent => none
2016-06-17 15:12 LouisGac Note Added: 39677
2016-06-17 19:18 radhwaw Note Added: 39688
2016-06-17 19:40 radhwaw Note Added: 39689
2016-06-17 19:45 radhwaw Note Edited: 39689
2016-06-20 12:27 LouisGac Note Added: 39700
2016-06-20 12:28 LouisGac Note Edited: 39700
2016-06-20 12:28 LouisGac Assigned To => DenisChenu
2016-06-20 12:28 LouisGac Status new => assigned
2016-06-20 12:46 DenisChenu Assigned To DenisChenu =>
2016-06-20 12:47 DenisChenu Note Added: 39706
2016-06-20 12:47 DenisChenu Status assigned => confirmed
2016-06-20 13:40 LouisGac Note Added: 39707
2016-06-20 13:40 LouisGac Status confirmed => resolved
2016-06-20 13:40 LouisGac Resolution open => won't fix
2016-06-20 13:40 LouisGac Assigned To => LouisGac
2016-06-20 13:58 DenisChenu Note Added: 39712
2016-06-20 15:31 c_schmitz Note Added: 39727
2016-06-20 15:31 c_schmitz Status resolved => closed
2016-06-20 17:02 radhwaw Note Added: 39743
2016-06-20 17:02 radhwaw Status closed => feedback
2016-06-20 17:02 radhwaw Resolution won't fix => reopened
2016-06-20 17:12 LouisGac Note Added: 39746
2016-06-20 17:13 radhwaw Note Added: 39747
2016-06-20 17:13 radhwaw Status feedback => assigned
2016-06-20 17:22 LouisGac Note Added: 39749
2016-06-20 17:55 LouisGac Assigned To LouisGac => aesteban
2016-06-20 17:57 LouisGac Note Added: 39750
2016-06-20 17:57 LouisGac Status assigned => feedback
2016-06-21 00:39 aesteban Note Added: 39754
2016-06-21 12:00 LouisGac Note Added: 39769
2016-06-23 21:15 aesteban Status feedback => confirmed
2016-06-24 02:26 aesteban Changeset attached => LimeSurvey master 2daa0899
2016-06-24 02:26 aesteban Note Added: 39795
2016-06-24 02:30 aesteban Status confirmed => resolved
2016-06-24 02:30 aesteban Resolution reopened => fixed
2016-06-24 10:09 LouisGac Note Added: 39796
2016-07-14 15:42 c_schmitz Note Added: 39886
2016-07-14 15:42 c_schmitz Status resolved => closed