View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07175Bug reportsSurvey participants (Tokens)public2013-03-02 16:34
ReporterpfpDave Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07175: Adding tokens from a survey to CPD doesn't add new attributes even when update existing is selected
Description

If you try and update tokens in the CPD from a survey tokens table and tick 'Update existing attributes', new attributes added since they were first created in the CPD aren't created ... see steps to reproduce for more info

Steps To Reproduce
  1. Create 2 custom attributes in the CPD
  2. Create a survey and token table matching the CPD (ie with 2 custom attributes
  3. Add data including to custom attributes and then add to CPD
  4. Edit CPD and survey token table to add a third custom attribute column
  5. add data to custom attribute 3 in survey token table
  6. Use Add to CPD function again and tick 'update existing attributes'
    Note that the new attribute is left blank.
Additional Information

Whilst technically the system is doing what it says on the tin and I can understand why this isn't happening (a record doesn't exist in participant_attribute) to update, it doesn't make logical sense

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)130108
I will donate to the project if issue is resolvedNo
BrowserIE8
Database type & versionSQL Express 2012
Server OS (if known)Server 2008
Webserver software & version (if known)IIS 7
PHP Version5.4.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-02-20 16:31

administrator   ~24177

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

c_schmitz

c_schmitz

2013-02-26 20:03

administrator   ~24423

New version released.

c_schmitz

c_schmitz

2013-03-02 16:34

administrator   ~24477

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

Related Changesets

LimeSurvey: master 0a539b3f

2013-02-20 15:30:07

c_schmitz

Details Diff
Fixed issue 07175: Problems with attributes not being copied when copying from tokens to participants database Affected Issues
07175
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/ParticipantAttributeNames.php Diff File
mod - application/models/Participants.php Diff File

LimeSurvey: 2.1 78dcea9e

2013-03-02 14:23:48

c_schmitz

Details Diff
Fixed issue 07175: Problems with attributes not being copied when copying from tokens to participants database Affected Issues
07175
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/ParticipantAttributeNames.php Diff File
mod - application/models/Participants.php Diff File

Issue History

Date Modified Username Field Change
2013-01-10 17:04 pfpDave New Issue
2013-01-11 00:21 c_schmitz Assigned To => jcleeland
2013-01-11 00:21 c_schmitz Status new => assigned
2013-02-19 18:39 c_schmitz Assigned To jcleeland => c_schmitz
2013-02-20 16:28 c_schmitz Status assigned => resolved
2013-02-20 16:28 c_schmitz Fixed in Version => 2.00+
2013-02-20 16:28 c_schmitz Resolution open => fixed
2013-02-20 16:31 c_schmitz Changeset attached => LimeSurvey master 0a539b3f
2013-02-20 16:31 c_schmitz Note Added: 24177
2013-02-26 20:03 c_schmitz Note Added: 24423
2013-02-26 20:03 c_schmitz Status resolved => closed
2013-03-02 16:34 c_schmitz Changeset attached => LimeSurvey 2.1 78dcea9e
2013-03-02 16:34 c_schmitz Note Added: 24477
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)