View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20820 | Bug reports | Survey taking | public | 2026-11-05 17:51 | 2026-11-06 10:56 |
| Reporter | xastrefernando | Assigned To | c_schmitz | ||
| Priority | none | Severity | crash | ||
| Status | assigned | Resolution | reopened | ||
| Product Version | 7.7.x | ||||
| Summary | 20820: HTTP 500 error when quota_exit is triggered in surveys migrated from LimeSurvey 5.6.x to 7.x | ||||
| Description | After migrating from LimeSurvey 5.6.x to LimeSurvey 7.x, some migrated surveys return an HTTP 500 Internal Server Error when a quota is reached and quota_exit is triggered. The survey works normally until the quota condition is reached. When the quota is triggered, instead of displaying the configured quota exit message/page, LimeSurvey returns an HTTP 500 Internal Server Error. The issue appears to affect surveys migrated from LimeSurvey 5.6.x to LimeSurvey 7.x. | ||||
| Steps To Reproduce | Steps to reproduce
Expected resultWhen the quota is reached, LimeSurvey should process quota_exit normally and display the configured quota exit message/page. Actual resultWhen quota_exit is triggered, LimeSurvey returns an HTTP 500 Internal Server Error and the participant cannot see the configured quota exit message. Additional observation: This behavior has been observed in multiple migrated surveys, suggesting that the issue may be related to data or configuration retained during the migration from LimeSurvey 5.6.x to LimeSurvey 7.x. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 7.9.0+261029 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome | ||||
| Database type & version | MariaDB (server version unknown) | ||||
| Server OS (if known) | Linux (Debian) | ||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.3.36 | ||||
| Git branch / Pull Request URL | |||||
|
The attached survey has no quotas. |
|
|
Thank you for the feedback and for looking into this issue. We will try to carry out the requested tests, including enabling debug = 2, reproducing the error and checking the quota_exit field in the affected response tables. We will share the results and the complete error message as soon as we have them. |
|
|
LimeSurvey: master 49d0afb1 2026-11-05 21:35 Details Diff |
Fixed issue 20820: Completing a survey caused an internal server error after upgrading from a version before 7.0 when detailed admin notifications were enabled Dev The upgrade did not add the quota_exit column to any response table: Update_715 used tableExists(), which still had the table names from before Update_700 renamed survey_<sid> to responses_<sid>; Update_719 adds the missing column Dev getFullResponseTable() skips fieldmap fields that have no column in the response table |
Affected Issues 20820 |
|
| mod - application/config/version.php | Diff File | ||
| mod - application/helpers/common_helper.php | Diff File | ||
| add - application/helpers/update/updates/Update_719.php | Diff File | ||
| add - tests/unit/helpers/QuotaExitColumnTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-05 17:51 | xastrefernando | New Issue | |
| 2026-11-05 17:51 | xastrefernando | File Added: limesurvey_survey_999943.lss | |
| 2026-11-05 17:51 | xastrefernando | File Added: Error_500.jpg | |
| 2026-11-05 21:16 | c_schmitz | Assigned To | => c_schmitz |
| 2026-11-05 21:16 | c_schmitz | Status | new => feedback |
| 2026-11-05 21:16 | c_schmitz | Note Added: 87203 | |
| 2026-11-05 21:16 | c_schmitz | Bug heat | 0 => 2 |
| 2026-11-05 21:26 | c_schmitz | Note Edited: 87203 | |
| 2026-11-05 21:36 | c_schmitz | Changeset attached | => LimeSurvey master 49d0afb1 |
| 2026-11-05 21:36 | c_schmitz | Status | feedback => resolved |
| 2026-11-05 21:36 | c_schmitz | Resolution | open => fixed |
| 2026-11-05 21:40 | c_schmitz | Status | resolved => feedback |
| 2026-11-05 21:40 | c_schmitz | Resolution | fixed => reopened |
| 2026-11-06 10:56 | xastrefernando | Note Added: 87206 | |
| 2026-11-06 10:56 | xastrefernando | Bug heat | 2 => 4 |
| 2026-11-06 10:56 | xastrefernando | Status | feedback => assigned |