View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17193Bug reportsCentral participant databasepublic2021-03-22 15:27
Reporteralorenc Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.25.10 
Summary17193: Problem with participant attribute mapping
Description

When importing survey participants to the Central Database, with attribute mapping enabled. Participants for these attributes are null.

In the attached package, I put the survey LSS file with 1 participant that has the company name attribute set. I also post configuration screenshots there.

Steps To Reproduce
  1. Go to the Central Participant Database
  2. I create a new attribute: Company
  3. I set the type: text field
  4. Language, add Polish and set the name "Firma" (in Polish).
  5. Go to the survey
  6. In the survey for the list of participants
  7. Adds attribute_1 named Company

This path works fine

  1. I don't set mapping attribute_1 to company from central database
  2. Imports participants
  3. I choose a few and choose "Add participants to the central database"
  4. I transfer "Company" from the left pane to the right pane (Company according to the Polish name from the Central Base)
  5. Gives a record and displays their company to participants in a central database.

This path is not working properly
ad 8. if I set the mapping of the attribute_1 to the company from the central database
...
ad 11. Here I don't have to send anything because it does it automatically, I just click save.
ad 12. The imported participants do not have a company name in the central database.

I do not know if this is an error with automatic mapping, or if it is due to the name that attribute_1 has an English name on the side of the survey, and on the side of the Central Database it has Polish name, although in my opinion it should not matter.

Additional Information

https://forums.limesurvey.org/forum/design-issues/123849-problem-with-participant-attribute-mapping

The survey LSS file was created in version 3.25.18 (because I updated today) and this is also the problem here.
I tested in a Microsoft (MS Server 2019) and Windows (win 10) environment,

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)v3.25.10 30172
I will donate to the project if issue is resolvedNo
Browserthe latest: Chrome, Opera
Database type & versionSQL Server 2019
Server OS (if known)Microsoft Server 2019
Webserver software & version (if known)
PHP Versionv7.4.15 NTS x64

Users monitoring this issue

There are no users monitoring this issue.

Activities

alorenc

alorenc

2021-03-19 11:52

reporter   ~63471

c_schmitz

c_schmitz

2021-03-19 15:53

administrator   ~63480

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31355

c_schmitz

c_schmitz

2021-03-19 15:56

administrator   ~63481

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

lime_release_bot

lime_release_bot

2021-03-22 15:27

administrator   ~63532

Fixed in Release 4.4.14+210322

Related Changesets

LimeSurvey: 3.x-LTS 5039b254

2021-03-19 16:53

c_schmitz


Details Diff
Fixed issue 17193: Auto-mapped participant attributes are not copied to CPDB Affected Issues
17193
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/Participant.php Diff File
mod - application/models/Survey.php Diff File

LimeSurvey: master ec779339

2021-03-19 16:56

c_schmitz


Details Diff
Fixed issue 17193: Auto-mapped participant attributes are not copied to CPDB Affected Issues
17193
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/Participant.php Diff File
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2021-03-19 11:51 alorenc New Issue
2021-03-19 11:52 alorenc Note Added: 63471
2021-03-19 11:52 alorenc File Added: surveys_archive_mapping_problem.zip
2021-03-19 15:52 c_schmitz Assigned To => c_schmitz
2021-03-19 15:52 c_schmitz Status new => assigned
2021-03-19 15:53 c_schmitz Changeset attached => LimeSurvey 3.x-LTS 5039b254
2021-03-19 15:53 c_schmitz Note Added: 63480
2021-03-19 15:53 c_schmitz Resolution open => fixed
2021-03-19 15:56 c_schmitz Changeset attached => LimeSurvey master ec779339
2021-03-19 15:56 c_schmitz Note Added: 63481
2021-03-19 15:58 c_schmitz Status assigned => resolved
2021-03-22 15:27 lime_release_bot Note Added: 63532
2021-03-22 15:27 lime_release_bot Status resolved => closed