View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20272 | Bug reports | Import/Export | public | 2025-09-19 14:47 | 2026-10-29 16:48 |
| Reporter | joseptaus | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.6.x | ||||
| Summary | 20272: Conditions do not function at a survey imported from 3.5 to 6.15 | ||||
| Description | A survey with fields with conditions that functions perfectly at the version 3.5.4+180320 and can export it at the version 6.15.11+250909 without any error message. But when I executed it, conditions do not function. | ||||
| Steps To Reproduce | Import survey. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 6.15.11+250909 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox ESR | ||||
| Database type & version | Postgresql 15 | ||||
| Server OS (if known) | Debian 12 | ||||
| Webserver software & version (if known) | apache2 2.4.65-1~deb12u1 | ||||
| PHP Version | 8.2 | ||||
| Git branch / Pull Request URL | |||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41147 |
|
|
LimeSurvey: master 1121e0b1 2026-10-29 16:47 Details Diff |
Fixed issue 20272: Conditions did not work on survey pages where a question had a default answer containing an apostrophe (e.g. {date('Y')}) Dev The default value in the Expression Manager JavaScript variable list is now a JSON string literal instead of a JSON string wrapped in single quotes |
Affected Issues 20272 |
|
| mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
| add - tests/unit/helpers/DefaultValueJavaScriptTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-09-19 14:47 | joseptaus | New Issue | |
| 2025-09-19 14:47 | joseptaus | File Added: limesurvey_survey_537845.lss | |
| 2025-09-19 14:48 | joseptaus | Issue Monitored: joseptaus | |
| 2025-09-19 14:48 | joseptaus | Bug heat | 0 => 2 |
| 2026-10-29 16:48 | c_schmitz | Changeset attached | => LimeSurvey master 1121e0b1 |
| 2026-10-29 16:48 | c_schmitz | Note Added: 86987 | |
| 2026-10-29 16:48 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-29 16:48 | c_schmitz | Status | new => resolved |
| 2026-10-29 16:48 | c_schmitz | Resolution | open => fixed |
| 2026-10-29 16:48 | c_schmitz | Bug heat | 2 => 4 |