View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20417 | Bug reports | Other | public | 2026-02-05 16:58 | 2026-02-05 17:00 |
| Reporter | DenisChenu | Assigned To | |||
| Priority | none | Severity | minor | ||
| Status | new | Resolution | open | ||
| Product Version | 6.12.x | ||||
| Summary | 20417: Survey findByPk retuen invalid value if scope are set | ||||
| Description | When using scope : Survey::model()->active()->findByPk or Survey::model()->open()->findByPk can retrun ivalid value (and in same case : Survey::model()->findByPk too) | ||||
| Steps To Reproduce | Steps to reproduceImport included plugin Expected resultSee 5 green light Actual result2 red line | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 6.16.5 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | 8.4 | ||||
|
I have a situation where Survey::model()->findByPk return null (with a valid survey) don't find clean way to reproduce. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-02-05 16:58 | DenisChenu | New Issue | |
| 2026-02-05 16:58 | DenisChenu | File Added: reportIssueFindByPk.zip | |
| 2026-02-05 16:58 | DenisChenu | File Added: Capture d’écran du 2026-02-05 16-58-24.png | |
| 2026-02-05 17:00 | DenisChenu | Note Added: 84177 | |
| 2026-02-05 17:00 | DenisChenu | Bug heat | 0 => 2 |