LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06116Bug reports[All Projects] Tokenspublic2012-05-18 18:212012-07-19 23:34
ReporterFred 
Assigned Tojcleeland 
PrioritynormalSeverityminor 
StatusclosedResolutionfixed 
Product Version2.00RC1 
Target VersionFixed in Version2.00RC5 
Summary06116: Deleting token does not delete from lime_survey_links
DescriptionWhen 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 Reproduce1. 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.
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number000000
BrowserChrome
Database & DB-VersionMySQL 5.5.9
Operating System (Server)Mac OS Lion
Webserver software & versionApache 2.2.17
PHP Version5.3.6
Attached Files

- Relationships

-  Notes
User avatar (19591)
jcleeland (developer)
2012-06-30 02:49

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8878 [^]
User avatar (19592)
jcleeland (developer)
2012-06-30 02:50

None of the functionality had ever been built (argh). Built all the related functions for managing the survey_links table from the tokens end.
User avatar (19837)
c_schmitz (administrator)
2012-07-19 23:34

2.00RC6 released.

- Related Changesets
LimeSurvey: Yii 63efb848
Timestamp: 2012-06-29 17:50:17
Author: jcleeland
Committer: 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.
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


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker