View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08910 | Bug reports | RemoteControl | public | 2014-03-27 08:54 | 2014-11-04 14:30 |
Reporter | ravi4957 | Assigned To | c_schmitz | ||
Priority | urgent | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08910: XMLRPC call for export_responses and export_responses_by_token returns blank result | ||||
Description | XMLRPC call for export_responses returning blank string, while the other function is adopting the export_responses, so even that returns blank string in response, While some points found when compared with the version 2.0 1) Previously in 2.0 the data returned was base64encoded string, but that was without <base64> tag and type was string in the response xml, so at that time response was needed to be decoded when retrieved by xmlrpc client, While in the new version, the encoded data is returned in <base64> tag, so xmlclient will automatically decode the response and return binary data of file. So basically the users should know that they should have to change something decoding of response in their own codebase | ||||
Additional Information | To solve the issue, i can propose below solution in the bigdata.php file below function protected static function xmlrpc_echo_stream($data) | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 2.05+ Build 140302 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mysql 5.5.34 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | 5.5 | ||||
Please let me know if u agree with the proposed changes then i can add a PR for this bug |
|
CAn you explain a bit more what render() does? I can't find it aynwhere. |
|
Please check line 2342 inside export_responses routine, which returns object of BigFile class located at below link of BigData.php file https://github.com/LimeSurvey/LimeSurvey/blob/master/application/libraries/BigData.php Which has render function, which is already setting up default encryption type if not available to base64, and then converts the data to base64encode, and outputs all data to a file pointer. |
|
Please create a pull request, then. Thank you! |
|
http://bugs.limesurvey.org/view.php?id=8911 Can you please have a look at the above issue too please. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14095 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14101 |
|
LimeSurvey: master 1fecfe31 2014-03-31 14:48 Details Diff |
Fixed issue 08910: Fixed added to output/render output of file data, using render routine of Bigfile class |
Affected Issues 08910 |
|
mod - application/libraries/BigData.php | Diff File | ||
LimeSurvey: master 69478241 2014-03-31 15:00 Details Diff |
Merge pull request #187 from ravindrakhokharia/master Fixed issue 08910: Fixed added to output/render output of file data |
Affected Issues 08910 |
|
mod - application/libraries/BigData.php | Diff File | ||
LimeSurvey: master fe593634 2014-03-31 15:11 Details Diff |
Fixed issue 08910: Fixed added to output/render output of file data, using render routine of Bigfile class |
Affected Issues 08910 |
|
mod - application/libraries/BigData.php | Diff File | ||
LimeSurvey: master 62b5d779 2014-03-31 17:12 Details Diff |
Merge pull request #188 from ravindrakhokharia/master Fixed issue 08910: Updated encoding |
Affected Issues 08910 |
|
mod - application/libraries/BigData.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-27 08:54 | ravi4957 | New Issue | |
2014-03-27 09:56 | ravi4957 | Note Added: 29557 | |
2014-03-29 18:46 | c_schmitz | Note Added: 29612 | |
2014-03-31 12:42 | ravi4957 | Note Added: 29619 | |
2014-03-31 14:43 | c_schmitz | Note Added: 29623 | |
2014-03-31 14:43 | c_schmitz | Assigned To | => c_schmitz |
2014-03-31 14:43 | c_schmitz | Status | new => assigned |
2014-03-31 14:45 | ravi4957 | Note Added: 29624 | |
2014-03-31 15:01 | ravi4957 | Changeset attached | => LimeSurvey master 1fecfe31 |
2014-03-31 15:01 | c_schmitz | Changeset attached | => LimeSurvey master 69478241 |
2014-03-31 15:01 | c_schmitz | Note Added: 29626 | |
2014-03-31 15:01 | c_schmitz | Resolution | open => fixed |
2014-03-31 17:12 | ravi4957 | Changeset attached | => LimeSurvey master fe593634 |
2014-03-31 17:12 | c_schmitz | Changeset attached | => LimeSurvey master 62b5d779 |
2014-03-31 17:12 | c_schmitz | Note Added: 29629 | |
2014-04-04 17:41 | c_schmitz | Status | assigned => closed |
2014-04-04 17:41 | c_schmitz | Fixed in Version | => 2.05+ |
2014-11-04 14:30 |
|
Issue Monitored: user36100 |