View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11613Bug reportsImport/Exportpublic2016-09-06 13:34
Reporterduvemyster Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary11613: A csv token import bug (with workaround)
Description

If I make an edit to an existing token records that has an empty token field, then I am unable to import a new token record from a csv file with an empty token field, unless I first generate tokens for all existing records. Although the csv file does not contain duplicates, the result is a warning that duplicate records were removed (even if "filter duplicates" is unchecked).

Steps To Reproduce
  1. Start from an existing token table with records and generate all tokens.
  2. Now clear out on token field from one of the records such that the token field is empty
  3. Now attempt to import a new token record from a csv file with an empty token field (It will fail to create the token entry with a warning that duplicate records were removed)

OR

  1. Start from an existing token table that has at least 1 record with an empty token field.
  2. Now make an edit to the existing record with the empty token field while still leaving the token field empty.
  3. Now attempt to import a new token record from a csv file with an empty token field (It will fail to create the token entry with a warning that duplicate records were removed)
Additional Information

Now that I am aware of this, I know to simply generate tokens if I run into an inability to import tokens.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 2.06lts Build 160801
I will donate to the project if issue is resolvedNo
BrowserFirefox 47.0.1
Database type & versionMariaDB 10
Server OS (if known)Linux
Webserver software & version (if known)Apache 2.4
PHP VersionPHP Version 5.6.20-0+deb8u1

Users monitoring this issue

aesteban

Activities

c_schmitz

c_schmitz

2016-09-02 08:23

administrator   ~40648

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

c_schmitz

c_schmitz

2016-09-02 08:23

administrator   ~40649

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

c_schmitz

c_schmitz

2016-09-02 08:24

administrator   ~40650

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

c_schmitz

c_schmitz

2016-09-06 13:34

administrator   ~40702

Version 2.51.3 released.

Related Changesets

LimeSurvey: master cc23b482

2016-09-02 06:23:03

c_schmitz

Details Diff
Fixed issue 11613: Importing a participant having an empty token field is not possible Affected Issues
11613
mod - application/helpers/surveytranslator_helper.php Diff File

LimeSurvey: master 7d3dcdce

2016-09-02 06:23:22

c_schmitz

Details Diff
Fixed issue 11613: Importing a participant having an empty token field is not possible Affected Issues
11613
mod - application/controllers/admin/tokens.php Diff File

LimeSurvey: 2.06lts 262b997c

2016-09-02 06:23:22

c_schmitz

Details Diff
Fixed issue 11613: Importing a participant having an empty token field is not possible Affected Issues
11613
mod - application/controllers/admin/tokens.php Diff File

Issue History

Date Modified Username Field Change
2016-09-01 19:57 duvemyster New Issue
2016-09-02 01:34 aesteban Issue Monitored: aesteban
2016-09-02 08:22 c_schmitz Assigned To => c_schmitz
2016-09-02 08:22 c_schmitz Status new => assigned
2016-09-02 08:23 c_schmitz Changeset attached => LimeSurvey master cc23b482
2016-09-02 08:23 c_schmitz Note Added: 40648
2016-09-02 08:23 c_schmitz Resolution open => fixed
2016-09-02 08:23 c_schmitz Changeset attached => LimeSurvey master 7d3dcdce
2016-09-02 08:23 c_schmitz Note Added: 40649
2016-09-02 08:24 c_schmitz Changeset attached => LimeSurvey 2.06lts 262b997c
2016-09-02 08:24 c_schmitz Note Added: 40650
2016-09-02 08:24 c_schmitz Status assigned => resolved
2016-09-02 08:24 c_schmitz Fixed in Version => 2.06+
2016-09-06 13:34 c_schmitz Note Added: 40702
2016-09-06 13:34 c_schmitz Status resolved => closed
2021-08-02 19:51 duvemyster Bug heat 2 => 4