View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20673 | Bug reports | Import/Export | public | 2026-09-07 03:33 | 2026-09-10 14:12 |
| Reporter | ujtwrujtwr | Assigned To | c_schmitz | ||
| Priority | none | Severity | block | ||
| Status | closed | Resolution | fixed | ||
| Summary | 20673: Variable names are corrupted when exporting responses in R format | ||||
| Description | When exporting responses in R format using “R (syntax file)”, the variable names (column names) for options in single-choice, multiple-choice, and other question types appear to have been replaced with internal identifiers. Previously, these names followed a format such as {Question Code}_{Option Code}. This change has broken all of our R analysis scripts that rely on the previous naming convention. The downloaded R syntax file contains the following code: LimeSurvey Field type: Fdata[, 10] <- as.numeric(data[, 10]) LimeSurvey Field type: Fdata[, 11] <- as.numeric(data[, 11]) LimeSurvey Field type: Fdata[, 12] <- as.numeric(data[, 12])
| ||||
| Steps To Reproduce | Steps to reproduce
Expected resultThe data is imported with column names in the format {Question Code}_{Option Code}. Actual resultThe column names appear to be unpredictable internal identifiers. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | LimeSurvey Community Edition Version 7.0.14+260904 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | firefox / chrome | ||||
| Database type & version | mysql 8.0.45 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache 2.4 | ||||
| PHP Version | 8.3.29 | ||||
| Git branch / Pull Request URL | https://github.com/LimeSurvey/LimeSurvey/pull/5279 | ||||
|
Example of the question settings screen |
|
|
Please report if the attached file fixes the issue. |
|
|
Thank you for your quick response. After replacing |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40272 |
|
|
Fixed in Release 7.0.15+260910 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-09-07 03:33 | ujtwrujtwr | New Issue | |
| 2026-09-07 03:34 | ujtwrujtwr | Note Added: 85588 | |
| 2026-09-07 03:34 | ujtwrujtwr | File Added: fig01.png | |
| 2026-09-07 03:34 | ujtwrujtwr | Bug heat | 0 => 2 |
| 2026-09-07 09:28 | c_schmitz | Assigned To | => c_schmitz |
| 2026-09-07 09:28 | c_schmitz | Status | new => assigned |
| 2026-09-07 09:29 | c_schmitz | Note Added: 85592 | |
| 2026-09-07 09:29 | c_schmitz | File Added: export_helper.php | |
| 2026-09-07 09:29 | c_schmitz | Bug heat | 2 => 4 |
| 2026-09-07 09:29 | c_schmitz | Status | assigned => feedback |
| 2026-09-08 01:38 | ujtwrujtwr | Note Added: 85603 | |
| 2026-09-08 01:38 | ujtwrujtwr | Status | feedback => assigned |
| 2026-09-08 11:07 | c_schmitz | Status | assigned => ready for code review |
| 2026-09-08 11:07 | c_schmitz | Git branch / Pull Request URL | => https://github.com/LimeSurvey/LimeSurvey/pull/5279 |
| 2026-09-09 13:37 | c_schmitz | Changeset attached | => LimeSurvey master edfea021 |
| 2026-09-09 13:37 | c_schmitz | Note Added: 85620 | |
| 2026-09-09 13:37 | c_schmitz | Status | ready for code review => resolved |
| 2026-09-09 13:37 | c_schmitz | Resolution | open => fixed |
| 2026-09-10 14:12 | LimeBot | Note Added: 85634 | |
| 2026-09-10 14:12 | LimeBot | Status | resolved => closed |
| 2026-09-10 14:12 | LimeBot | Bug heat | 4 => 6 |