View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18051 | Bug reports | RemoteControl | public | 2022-04-26 12:59 | 2022-05-09 12:39 |
Reporter | chris1337 | Assigned To | DenisChenu | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.28.x | ||||
Summary | 18051: API: Deleting a question crashes in 3.x (already fixed in 5.x) | ||||
Description | When deleting a question via the Remote Control API using the The reason seems that in
In the 5.0 branch, this line has been replaced with the more modern (?) method
Replacing the line accordingly in our local PHP files fixes the problem for us. We suggest backporting this change to the 3.x-LTS branch as well. | ||||
Steps To Reproduce | Steps to reproduce
Expected resultThe question is erased, and the qid returned as JSON result to the request. Actual resultThe question gets erased, but the API crashes with the PHP error "Using $this when not in object context", displayed on an HTML error page. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 3.28.7+220420 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 5.5.5, MariaDB:10.7.3 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.4.29 | ||||
Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33467 |
|
Fixed in Release 3.28.10+220510 |
|
LimeSurvey: 3.x-LTS 14abf654 2022-05-07 00:17 Committer: GitHub Details Diff |
Fixed issue 18051: RemoteControl API: Deleting a question crashes (#2377) Dev: use same function then 5.x Dev: thanks chris1337 |
Affected Issues 18051 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-04-26 12:59 | chris1337 | New Issue | |
2022-04-27 09:01 | galads | Assigned To | => DenisChenu |
2022-04-27 09:01 | galads | Status | new => assigned |
2022-04-28 18:14 | DenisChenu | Assigned To | DenisChenu => |
2022-04-28 18:14 | DenisChenu | Status | assigned => ready for code review |
2022-04-28 18:14 | DenisChenu | Note Added: 69289 | |
2022-04-28 18:14 | DenisChenu | Bug heat | 0 => 2 |
2022-05-06 22:15 | c_schmitz | Assigned To | => c_schmitz |
2022-05-06 22:15 | c_schmitz | Status | ready for code review => resolved |
2022-05-06 22:15 | c_schmitz | Resolution | open => fixed |
2022-05-06 22:19 | DenisChenu | Changeset attached | => LimeSurvey 3.x-LTS 14abf654 |
2022-05-06 22:19 | DenisChenu | Note Added: 69498 | |
2022-05-06 22:19 | DenisChenu | Assigned To | c_schmitz => DenisChenu |
2022-05-09 12:39 | LimeBot | Note Added: 69513 | |
2022-05-09 12:39 | LimeBot | Status | resolved => closed |
2022-05-09 12:39 | LimeBot | Bug heat | 2 => 4 |