View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20884Bug reportsEncryptionpublic2026-11-23 10:38
Reportertwilllig Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version7.11.x 
Summary20884: CSV import with "overwrite" saves encrypted participant attributes unencrypted
Description

When a CSV import into the central participant database updates participants that already exist (with the overwrite option on), the values of encrypted attributes are saved without encryption. Afterwards these values show up empty or garbled for those participants. Importing new participants encrypts the values correctly.

The overwrite branch in ParticipantsAction::uploadCSV() passes the mapped values to updateParticipantAttributeValue() without calling encrypt(), unlike the branch for new participants.

Steps To Reproduce
  1. In the central participant database, create an attribute with encryption turned on.
  2. Add a participant and give them a value for that attribute.
  3. Export the participants to a CSV file, change that attribute's value, and import the file again with the overwrite option on, mapping the column to the encrypted attribute.
  4. Open the participant.

Expected: The new value is shown.
Actual: The value is empty or garbled.

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)7.11.0
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-11-23 10:38 twilllig New Issue