View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10191Bug reportsCentral participant databasepublic2016-03-16 09:18
Reporterttenbergen Assigned Toollehar  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Target Version2.50.xFixed in Version2.50.x 
Summary10191: Can't import attributes with Participants
Description

Tried to import a .csv to move participants from a previous install.
Participants import OK
Attributes do not import into new fields
Attributes do not import into manually created fields either
Able to manually add attribute to participant

Additional Information

I was hoping that the attribute stuff would work right in the new version 2.5 so installed a test version, but it's even worse for this. Also I keep hearing about a v3 that will fix many things, but there doesn't seem to be an RC for it I could try. The Roadmap documents I could find all mention the past for next versions. Could you direct me to a place that has valid roadmap info, or is there simply none?

TagsNo tags attached.
Attached Files
central_1.csv (1,097 bytes)
Bug heat6
Complete LimeSurvey version number (& build)Version 2.06+ Build 151215
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & version5.6.25
Server OS (if known)Ubuntu precise (12.04.5 LTS)
Webserver software & version (if known)Apache 2.2.31-2
PHP VersionPHP 5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

ttenbergen

ttenbergen

2016-03-03 20:06

reporter   ~35926

Just tried again to see if updates since have fixed this.

  • there is still a page worth of whitespace in drag-drop the attributes for import
  • only 8 of 17 attributes import
    I will attach the file I am uploading. It's an export of some of our current participants with id obfuscated, so presumably the format is right.
ttenbergen

ttenbergen

2016-03-03 20:13

reporter   ~35927

I think it might be that it ignores attribute names with spaces in them in the import. I was allowed to have spaces during manual entry before, and can still do manual entry. Import ignores them, though, doesn't even give an error.
I used automatic separator option in import

ollehar

ollehar

2016-03-10 12:44

administrator   ~36280

Seems to be a bug in the Javascript where it can't handle spaces in attribute names. I'm on it.

ollehar

ollehar

2016-03-10 12:59

administrator   ~36282

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

ollehar

ollehar

2016-03-10 13:27

administrator   ~36285

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

ollehar

ollehar

2016-03-10 15:02

administrator   ~36296

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

ollehar

ollehar

2016-03-10 15:21

administrator   ~36302

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

ttenbergen

ttenbergen

2016-03-10 17:56

reporter   ~36323

Hi Olle, thanks for applying a fix. I just imported a bunch into demo to test for a different ticket, but I suppose the demo has not been updated yet, right?

If it has, I still can't import the ones with spaces.

Also, the drag-and-drop for the attributes is really awkward when there are this many, since the length of the list in the top section pushes the bottom section off the screen.
Also, mouse-scrolling doesn't seem to work on the import screen, at least in IE.

ollehar

ollehar

2016-03-11 10:49

administrator   ~36365

Hi,

It's been updated now, so please try again.

I added a button to move all attributes from left column to middle column. Hopefully it will make it a bit easier.

Olle

ollehar

ollehar

2016-03-11 11:15

administrator   ~36368

I will fix the height issue today.

ollehar

ollehar

2016-03-11 11:52

administrator   ~36395

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

ttenbergen

ttenbergen

2016-03-14 17:03

reporter   ~36480

Thanks Olle, the column representation works MUCH better!
Looks like the import works now, when I view the participant attributes (click plus) the listing still has problems.

  • I suspect there should be action buttons since there is an actions column, but I can't see them.
  • I can not see any separation between lines; some of our attributes are longer than what would fit on one line and right now those look like a separate attribute; I guess this would not have been an issue before the update to allow spaces in the attribute names.
    Thanks for the fixes you have already done!
ollehar

ollehar

2016-03-14 17:14

administrator   ~36481

Hi ttenbergen,

Could you please write a new issue for the new bugs? Thank you.

c_schmitz

c_schmitz

2016-03-16 09:18

administrator   ~36534

Version 2.50+ Build 160316 released

Related Changesets

LimeSurvey: master 60bc8a0f

2016-03-10 11:57:13

ollehar

Details Diff
Fixed issue 10191: Can't import attributes with Participants Affected Issues
10191
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/views/admin/participants/attributeMapCSV_view.php Diff File
mod - scripts/admin/attributeMapCSV.js Diff File

LimeSurvey: 2.06lts 595b8ca0

2016-03-10 12:26:19

ollehar

Details Diff
Fixed commit 10191: Can't import attributes with Participants Affected Issues
10191
mod - scripts/admin/attributeMapCSV.js Diff File

LimeSurvey: master e95949e3

2016-03-10 14:01:50

ollehar

Details Diff
Fixed issue 10191: Can't import attributes with Participants Affected Issues
10191
mod - application/views/admin/participants/attributeMapCSV_view.php Diff File
mod - scripts/admin/attributeMapCSV.js Diff File
mod - styles/Sea_Green/css/attributeMapToken.css Diff File
mod - styles/Sea_Green/css/lime-admin-misc.css Diff File

LimeSurvey: master bcafe697

2016-03-10 14:20:39

ollehar

Details Diff
Fixed issue 10191: Can't import attributes with Participants Affected Issues
10191
mod - application/views/admin/participants/attributeMapCSV_view.php Diff File
mod - scripts/admin/attributeMapCSV.js Diff File

LimeSurvey: master e01a8474

2016-03-11 10:51:56

ollehar

Details Diff
Fixed issue 10191: Can't import attributes with Participants Affected Issues
10191
mod - application/views/admin/participants/attributeMapCSV_view.php Diff File
mod - scripts/admin/attributeMapCSV.js Diff File
mod - styles/Sea_Green/css/lime-admin-misc.css Diff File

Issue History

Date Modified Username Field Change
2015-12-30 23:04 ttenbergen New Issue
2016-03-03 20:06 ttenbergen Note Added: 35926
2016-03-03 20:07 ttenbergen File Added: central_1.csv
2016-03-03 20:13 ttenbergen Note Added: 35927
2016-03-09 16:43 ollehar Assigned To => ollehar
2016-03-09 16:43 ollehar Status new => assigned
2016-03-10 12:10 ollehar Target Version => 2.5
2016-03-10 12:44 ollehar Note Added: 36280
2016-03-10 12:59 ollehar Changeset attached => LimeSurvey master 60bc8a0f
2016-03-10 12:59 ollehar Note Added: 36282
2016-03-10 12:59 ollehar Resolution open => fixed
2016-03-10 13:27 ollehar Changeset attached => LimeSurvey 2.06lts 595b8ca0
2016-03-10 13:27 ollehar Note Added: 36285
2016-03-10 15:02 ollehar Changeset attached => LimeSurvey master e95949e3
2016-03-10 15:02 ollehar Note Added: 36296
2016-03-10 15:21 ollehar Changeset attached => LimeSurvey master bcafe697
2016-03-10 15:21 ollehar Note Added: 36302
2016-03-10 17:56 ttenbergen Note Added: 36323
2016-03-11 10:49 ollehar Note Added: 36365
2016-03-11 11:15 ollehar Note Added: 36368
2016-03-11 11:52 ollehar Changeset attached => LimeSurvey master e01a8474
2016-03-11 11:52 ollehar Note Added: 36395
2016-03-11 12:23 ollehar Status assigned => resolved
2016-03-11 12:23 ollehar Fixed in Version => 2.5
2016-03-14 17:03 ttenbergen Note Added: 36480
2016-03-14 17:14 ollehar Note Added: 36481
2016-03-16 09:18 c_schmitz Note Added: 36534
2016-03-16 09:18 c_schmitz Status resolved => closed