View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17587 | Bug reports | Statistics | public | 2021-09-10 11:25 | 2022-08-29 14:35 |
Reporter | 2BITS_PL | Assigned To | gabrieljenik | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 3.25.19 | ||||
Summary | 17587: Invalid type in userstatistics_helper.php [2444] - php7.4 | ||||
Description | Applies to the public statistics page with debugging enabled. In some cases, $aattr returns a boolean value, which causes references to array parameters to generate errors. | ||||
Additional Information | The bug was found in version 3.25.19, also confirmed in version 3.27.17 (latest). | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | v3.27.17+210911 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | SQL Server 2019 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | v7.4.15 NTS x64 | ||||
Hello 2BITS_PL, |
|
We currently have an older version so I cannot verify this. As soon as the project is updated, I will post a feedback. |
|
I couldn't reproduce the bug in version 3.28.24. However, in the QuestionAttribute class, the getQuestionAttributes method can still return Boolean (false) in the event that $oQuestion is empty. For that to happen, $iQuestionID (parent of qid) would have to be 0. Could that be? I don't know right now - I couldn't simulate it. |
|
Actually it will return false if the question is not foundby the given $iQuestionID. As per the comments and that can't be reproduced, will be closing the ticket. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-10 11:25 | 2BITS_PL | New Issue | |
2022-07-14 00:44 | gabrieljenik | Assigned To | => gabrieljenik |
2022-07-14 00:44 | gabrieljenik | Status | new => feedback |
2022-07-14 00:44 | gabrieljenik | Note Added: 70918 | |
2022-07-14 00:44 | gabrieljenik | Bug heat | 0 => 2 |
2022-08-04 09:18 | 2BITS_PL | Note Added: 71317 | |
2022-08-04 09:18 | 2BITS_PL | Bug heat | 2 => 4 |
2022-08-04 09:18 | 2BITS_PL | Status | feedback => assigned |
2022-08-04 15:17 | gabrieljenik | Assigned To | gabrieljenik => |
2022-08-04 15:17 | gabrieljenik | Status | assigned => feedback |
2022-08-29 12:47 | 2BITS_PL | Note Added: 71550 | |
2022-08-29 12:47 | 2BITS_PL | Status | feedback => new |
2022-08-29 14:31 | gabrieljenik | Note Added: 71553 | |
2022-08-29 14:35 | gabrieljenik | Assigned To | => gabrieljenik |
2022-08-29 14:35 | gabrieljenik | Status | new => closed |
2022-08-29 14:35 | gabrieljenik | Resolution | open => unable to reproduce |