View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06116Bug reportsSurvey participants (Tokens)public2012-07-19 23:34
ReporterFred Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC1 
Fixed in Version2.00RC5 
Summary06116: Deleting token does not delete from lime_survey_links
Description

When you add a participant to a survey it adds a record to lime_survey_links. These are visible in the participant grid when you expose attributes.

However, if a participant's token is deleted, the record in lime_survey_links is orphaned.

Steps To Reproduce
  1. Select a participant
  2. Add to a survey
  3. Go to survey tokens for survey from step 2
  4. Delete token for participant selected in step 1
  5. Return to participants and view participant selected in step 1. Expose attributes and the survey link is still visible.
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)000000
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5.5.9
Server OS (if known)Mac OS Lion
Webserver software & version (if known)Apache 2.2.17
PHP Version5.3.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

jcleeland

jcleeland

2012-06-30 02:49

reporter   ~19591

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

jcleeland

jcleeland

2012-06-30 02:50

reporter   ~19592

None of the functionality had ever been built (argh). Built all the related functions for managing the survey_links table from the tokens end.

c_schmitz

c_schmitz

2012-07-19 23:34

administrator   ~19837

2.00RC6 released.

Related Changesets

LimeSurvey: Yii 63efb848

2012-06-29 17:50:17

jcleeland

Details Diff
Fixed issue 06116 - Deleting token does not delete from lime_survey_links. Built all functionality, including deleting links when tokens table is dropped, and rebuilding links when a tokens table is restored. Affected Issues
06116
mod - application/controllers/admin/tokens.php Diff File
mod - application/models/Survey_links.php Diff File
mod - application/models/Tokens_dynamic.php Diff File
mod - application/views/admin/token/browse.php Diff File

Issue History

Date Modified Username Field Change
2012-05-18 18:21 Fred New Issue
2012-05-18 22:21 c_schmitz Assigned To => jcleeland
2012-05-18 22:21 c_schmitz Status new => assigned
2012-06-30 02:49 jcleeland Changeset attached => LimeSurvey Yii 63efb848
2012-06-30 02:49 jcleeland Note Added: 19591
2012-06-30 02:49 jcleeland Resolution open => fixed
2012-06-30 02:50 jcleeland Note Added: 19592
2012-06-30 02:50 jcleeland Status assigned => resolved
2012-06-30 02:50 jcleeland Fixed in Version => 2.00RC5
2012-07-19 23:34 c_schmitz Note Added: 19837
2012-07-19 23:34 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)