View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19837 | Bug reports | ComfortUpdate | public | 2024-11-15 11:34 | 2024-11-18 17:11 |
| Reporter | 2BITS_PL | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.6.x | ||||
| Summary | 19837: DB Update: Undefined array key "user_status" (with debug enabled) | ||||
| Description | I have updated the sources and am testing the DB update from version 490 to 623. The issue is cosmetic, related to the order of variable definitions in the User::scope() model. The condition <code>if (App()->getConfig("DBVersion") < 495) {</code> should come first, because at DBVersion=490, the 'user_status' column does not exist. After this condition, the $notExpiredScope variable should be defined, followed by the condition <code>if (App()->getConfig("DBVersion") < 619) {</code>. After that, the $userStatusType and $activeScope variables should be defined, right before the return statement. | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 6.6.3+240909 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | SQL Server 2022 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | v8.1.29 NTS x64 | ||||
|
This happens only if you are logged into the administration during update. |
|
|
Updated manual page. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-11-15 11:34 | 2BITS_PL | New Issue | |
| 2024-11-18 16:55 | c_schmitz | Note Added: 81415 | |
| 2024-11-18 16:55 | c_schmitz | Bug heat | 0 => 2 |
| 2024-11-18 17:11 | c_schmitz | Assigned To | => c_schmitz |
| 2024-11-18 17:11 | c_schmitz | Status | new => closed |
| 2024-11-18 17:11 | c_schmitz | Resolution | open => fixed |
| 2024-11-18 17:11 | c_schmitz | Note Added: 81416 |