View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19555 | Bug reports | Other | public | 2024-05-06 15:43 | 2026-10-22 05:24 |
| Reporter | TonisOrmisson | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.5.x | ||||
| Summary | 19555: afterFindSurvey event gets triggered excessively | ||||
| Description | The event afterFindSurvey event gets triggered excessively. The afterFindSurvey event is currently linked to Yii's internal onAfterFind event. The onAfterFind gets triggered also during relation calls such as $question->survey etc. This result in afterFindSurvey event getting triggered possibly tens of times during a page load depending on how many relation calls are on the page. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 6.5.4 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | na | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | na | ||||
| Git branch / Pull Request URL | N/A | ||||
| related to | 19589 | closed | DenisChenu | Multiple call of Survey->find a lot of time |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40978 |
|
|
Most of the repeated calls were already fixed with 19589 (6.6.1). The remaining extra calls on public survey pages are fixed now, so the event runs once per page load. |
|
|
LimeSurvey: master 4d2a0f5e 2026-10-22 05:23 Details Diff |
Fixed issue 19555: The afterFindSurvey plugin event was triggered several times on every public survey page Dev Most of the extra calls were already gone with 19589, the last two came from getSurveyInfo() |
Affected Issues 19555 |
|
| mod - application/helpers/common_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-06 15:43 | TonisOrmisson | New Issue | |
| 2024-05-06 15:44 | DenisChenu | Issue Monitored: DenisChenu | |
| 2024-05-06 15:44 | DenisChenu | Bug heat | 0 => 2 |
| 2024-05-06 15:44 | TonisOrmisson | Assigned To | => TonisOrmisson |
| 2024-05-06 15:44 | TonisOrmisson | Status | new => assigned |
| 2024-05-07 09:03 | TonisOrmisson | Note Added: 80079 | |
| 2024-05-07 09:03 | TonisOrmisson | Bug heat | 2 => 4 |
| 2026-10-22 05:24 | c_schmitz | Changeset attached | => LimeSurvey master 4d2a0f5e |
| 2026-10-22 05:24 | c_schmitz | Note Added: 86689 | |
| 2026-10-22 05:24 | c_schmitz | Assigned To | TonisOrmisson => c_schmitz |
| 2026-10-22 05:24 | c_schmitz | Status | assigned => resolved |
| 2026-10-22 05:24 | c_schmitz | Resolution | open => fixed |
| 2026-10-22 05:24 | c_schmitz | Bug heat | 4 => 6 |
| 2026-10-22 05:24 | c_schmitz | Relationship added | related to 19589 |
| 2026-10-22 05:24 | c_schmitz | Note Added: 86690 |