View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17879Bug reportsRemoteControlpublic2022-02-14 11:23
Reporterchimp358 Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17879: Remote Control delete_question error message is too generic
Description

When using the RC method delete_question, a non-specific "Error" status is returned.

Steps To Reproduce

Steps to reproduce

  • Start an RPC session.
  • Make sure the question you're trying to delete exists (e.g. ID 1234).
  • Try using an RPC client to delete the language from the survey: delete_question(1234).

Expected result

The error reason returned by the RC API should be as specific as possible.

Actual result

The question may or may not be removed but a generic array('status' => 'Error') is returned.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.2.11
I will donate to the project if issue is resolvedNo
BrowserN/A
Database type & versionPostgreSQL 11
Server OS (if known)N/A
Webserver software & version (if known)N/A
PHP Version8.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

chimp358

chimp358

2022-02-09 03:58

reporter   ~68248

I will submit a PR to try and fix this :)

chimp358

chimp358

2022-02-09 04:12

reporter   ~68249

PR: https://github.com/LimeSurvey/LimeSurvey/pull/2237

guest

guest

2022-02-09 13:13

viewer   ~68254

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33152

LimeBot

LimeBot

2022-02-14 11:23

administrator   ~68287

Fixed in Release 5.2.14+220214

Related Changesets

LimeSurvey: master 06de2894

2022-02-09 13:13:22

chimp358


Committer: GitHub Details Diff
Fixed issue 17879: Remote Control delete_question error message is too generic Affected Issues
17879
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2022-02-09 03:58 chimp358 New Issue
2022-02-09 03:58 chimp358 Note Added: 68248
2022-02-09 03:58 chimp358 Bug heat 0 => 2
2022-02-09 04:12 chimp358 Note Added: 68249
2022-02-09 09:11 galads Assigned To => galads
2022-02-09 09:11 galads Status new => confirmed
2022-02-09 13:13 chimp358 Changeset attached => LimeSurvey master 06de2894
2022-02-09 13:13 guest Note Added: 68254
2022-02-09 13:13 guest Bug heat 2 => 4
2022-02-09 13:13 c_schmitz Status confirmed => resolved
2022-02-09 13:13 c_schmitz Resolution open => fixed
2022-02-14 11:23 LimeBot Note Added: 68287
2022-02-14 11:23 LimeBot Status resolved => closed
2022-02-14 11:23 LimeBot Bug heat 4 => 6