View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19656 | Bug reports | RemoteControl | public | 2024-07-15 22:57 | 2024-08-04 12:35 |
Reporter | TVZ | Assigned To | |||
Priority | none | Severity | tweak | ||
Status | new | Resolution | open | ||
Product Version | 6.5.x | ||||
Summary | 19656: export_responses request blocked | ||||
Description | When using the export_responses method I get the following: Array Other remote control methods I'm using work fine. The same method worked fine with older versions of LimeSurvey | ||||
Steps To Reproduce | Steps to reproduceMy code initiates the remote control session. Using the session key, the request is sent to the API. $sessionData = $this->initSession(); $response = $sessionData['client']->export_responses($sessionData['key'], $surveyId,'csv','','all','full', 'long'); $sessionData['client']->release_session_key($sessionData['key']); echo " "; print_r($response);die; | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.5.16+ | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Chrome | ||||
Database type & version | 10.6.18-MariaDB | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | Apache | ||||
PHP Version | PHP 8.2 | ||||
Sorry, this was my mistake. I passed an incorrect, non-existant survey id to the function. So the fault is that the wrong message was returned. Based on my mistake the correct message that should have beeen returned by the API request is 'status' => 'No Data, survey table does not exist.' application/heelpers/remotecontrol/remotecontrol_handle.php line 3550. |
|
Ok, so we just need to add the correct text when this type of error occurs. |
|
Thanks! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-15 22:57 | TVZ | New Issue | |
2024-07-16 10:00 | TVZ | Issue Monitored: TVZ | |
2024-07-16 10:00 | TVZ | Bug heat | 0 => 2 |
2024-07-16 10:01 | TVZ | Issue End Monitor: TVZ | |
2024-07-16 10:01 | TVZ | Bug heat | 2 => 0 |
2024-07-16 10:09 | TVZ | Note Added: 80625 | |
2024-07-16 10:09 | TVZ | Bug heat | 0 => 2 |
2024-07-17 20:56 | tibor.pacalat | Severity | block => tweak |
2024-07-17 20:57 | tibor.pacalat | Note Added: 80654 | |
2024-07-17 20:57 | tibor.pacalat | Bug heat | 2 => 4 |
2024-08-04 12:35 | TVZ | Note Added: 80732 |