View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20903 | Bug reports | Central participant database | public | 2026-11-26 16:32 | 2026-11-28 14:35 |
| Reporter | DenisChenu | Assigned To | tibor.pacalat | ||
| Priority | none | Severity | minor | ||
| Status | confirmed | Resolution | open | ||
| Product Version | 7.11.x | ||||
| Summary | 20903: CPDB: attributes are not overwritten when the existing central participant is found by name and email | ||||
| Description | When survey participants are added to the CPDB, an existing central participant is found by participant_id, or else by firstname, lastname and email (Participant::getDuplicates()). With the overwrite options, Participant::updateAttributeValueToken() then reads the survey participant row with "participant_id = <id of the central participant>". When the central participant was found by firstname, lastname and email, the survey participant has no participant_id or another one: no row is found and nothing is copied. The participant is counted as a duplicate, but its attributes are not updated, without any message. | ||||
| Steps To Reproduce | Steps to reproduce
Expected result (to confrim)The participant is reported as a duplicate and the CPDB attribute of John Smith gets the value of attribute_1. Like wha we impirt via CSV Actual resultThe participant is reported as a duplicate, the CPDB attribute is not changed. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 7.12.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| Git branch / Pull Request URL | N/A | ||||
| related to | 20902 | confirmed | tibor.pacalat | CPDB: overwriting attributes of an existing central participant from a survey copies the raw value, encryption settings are igno |
| related to | 20906 | new | tibor.pacalat | Survey participant attribute encryption setting is not respected when sharing CPDB participants |
|
Possible fix, like the CSV import of the CPDB: use the values of the survey participant being added (the decrypted TokenDynamic already loaded in Participant::copyToCentral()), and write them on the participant_id of the central participant found, instead of looking up the survey participant row by this participant_id. |
|
|
I can not reproduce with instructions you provided (see screencast). Also didn't understand what do you mean create participant without participant_id. |
|
|
I check tomorrow |
|
|
Oups, it' sthis issu ehere I create participants in the token of survey system only. Maybe you're already have a participant_id?
Near this one : https://streamable.com/d2f8ld |
|
|
See the screencast |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-26 16:32 | DenisChenu | New Issue | |
| 2026-11-26 16:32 | DenisChenu | Note Added: 87973 | |
| 2026-11-26 16:32 | DenisChenu | Bug heat | 0 => 2 |
| 2026-11-26 16:33 | DenisChenu | Note Edited: 87973 | |
| 2026-11-26 16:54 | tibor.pacalat | Note Added: 87976 | |
| 2026-11-26 16:54 | tibor.pacalat | File Added: Screen-2026-11-26-165136.mp4 | |
| 2026-11-26 16:54 | tibor.pacalat | Bug heat | 2 => 4 |
| 2026-11-26 16:55 | tibor.pacalat | Note Edited: 87976 | |
| 2026-11-26 16:58 | DenisChenu | Note Added: 87977 | |
| 2026-11-26 17:05 | tibor.pacalat | Assigned To | => DenisChenu |
| 2026-11-26 17:05 | tibor.pacalat | Status | new => feedback |
| 2026-11-28 12:15 | DenisChenu | Note Added: 87991 | |
| 2026-11-28 12:15 | DenisChenu | File Added: Capture vidéo du 2026-11-28 12-13-24.mp4 | |
| 2026-11-28 12:18 | DenisChenu | Note Edited: 87991 | |
| 2026-11-28 12:19 | DenisChenu | Note Edited: 87991 | |
| 2026-11-28 14:33 | DenisChenu | Relationship added | related to 20906 |
| 2026-11-28 14:34 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
| 2026-11-28 14:34 | DenisChenu | Status | feedback => confirmed |
| 2026-11-28 14:34 | DenisChenu | Note Added: 87999 | |
| 2026-11-28 14:35 | DenisChenu | Relationship added | related to 20902 |