View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
07641 | Feature requests | RemoteControl | public | 2013-03-06 15:30 | 2023-02-13 09:14 |
Reporter | alibert | Assigned To | gabrieljenik | ||
Priority | normal | Severity | feature | ||
Status | feedback | Resolution | reopened | ||
Summary | 07641: RemoteControl2 - export_responses - Tweak ResponseType to support all features like in frontend | ||||
Description | With export_responses it is only possible to set the repsonse type to 'short' or 'long'. This should be supported in the remote control API-function export_responses. | ||||
Additional Information | Possible solution in export_responses (remotecontrol.php): public function export_responses($sSessionKey, $iSurveyID, $sDocumentType, $sLanguageCode=null, $sCompletionStatus='all', $sHeadingType='full', $sResponseType='short', $iFromResponseID=null, $iToResponseID=null, $aFields=null)
.... Call to the function would look like this: this->export_responses( $sessionKey, $survey_id,'csv','de','all','code',$aFormat); or shorter: export_responses( $sessionKey, $survey_id,'csv','de','all','code',array('answerFormat'=>'short', 'convertY'=>true, 'yValue'=>'1', 'convertN'=>true, 'nValue'=>'2')); | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Story point estimate | |||||
Users affected % | |||||
As this is very old, not sure what's the next status or steps for this. |
|
@gabrieljenik Thank you for the code review - can you also test it, please? |
|
Added an automatic test case :) |
|
I think this is ready |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34218 |
|
@autopoiesis74 said... But this is what I tried to achieve: Convert answercodes from 'Y' or 'N' to another character with the remote control API-function export_responses and it didn't work out for me. |
|
@autopoiesis74 Do you have an LSA so we can reproduce? |
|
@autopoiesis74 Just fishing here, but have you tried setting the aFields to null ? |
|
@gabrieljenik: I have tried to set the aFields to null which causes an empty data set. I have attached the lsa file you have requested. |
|
LimeSurvey: master bf9737c2 2023-01-13 00:44 Committer: GitHub Details Diff |
New feature 07641: Options to use Y/N conversion in RemoteControl API export (#2843) |
Affected Issues 07641 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
add - tests/data/surveys/survey_archive_RemoteControlExportResponses.lsa | Diff File | ||
mod - tests/unit/helpers/RemoteControlTest.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-06 15:30 | alibert | New Issue | |
2013-03-12 14:31 | c_schmitz | Status | new => acknowledged |
2013-03-12 14:31 | c_schmitz | Severity | @40@ => feature |
2013-03-12 15:04 | mfaber | Issue Monitored: mfaber | |
2023-01-09 13:19 | c_schmitz | Assigned To | => gabrieljenik |
2023-01-09 13:19 | c_schmitz | Status | acknowledged => assigned |
2023-01-09 13:50 | gabrieljenik | Note Added: 73404 | |
2023-01-09 13:50 | gabrieljenik | Bug heat | 2 => 4 |
2023-01-10 10:50 | c_schmitz | Note Added: 73409 | |
2023-01-10 10:50 | c_schmitz | Bug heat | 4 => 6 |
2023-01-10 10:51 | c_schmitz | Note Added: 73410 | |
2023-01-10 10:51 | c_schmitz | Note Edited: 73410 | |
2023-01-11 13:34 | gabrieljenik | Note Added: 73434 | |
2023-01-11 13:34 | gabrieljenik | Assigned To | gabrieljenik => c_schmitz |
2023-01-11 13:34 | gabrieljenik | Status | assigned => ready for merge |
2023-01-11 13:34 | gabrieljenik | Note Added: 73435 | |
2023-01-12 23:44 | c_schmitz | Changeset attached | => LimeSurvey master bf9737c2 |
2023-01-12 23:44 | c_schmitz | Note Added: 73455 | |
2023-01-12 23:44 | c_schmitz | Resolution | open => fixed |
2023-01-12 23:45 | c_schmitz | Status | ready for merge => resolved |
2023-02-09 14:01 | gabrieljenik | Note Added: 73777 | |
2023-02-09 14:02 | gabrieljenik | Note Added: 73778 | |
2023-02-09 14:05 | gabrieljenik | Note Added: 73779 | |
2023-02-09 18:19 | gabrieljenik | Assigned To | c_schmitz => gabrieljenik |
2023-02-09 18:19 | gabrieljenik | Status | resolved => feedback |
2023-02-09 18:19 | gabrieljenik | Resolution | fixed => reopened |
2023-02-13 09:14 | autopoiesis74 | Note Added: 73806 | |
2023-02-13 09:14 | autopoiesis74 | File Added: survey_archive_159462.lsa | |
2023-02-13 09:14 | autopoiesis74 | Bug heat | 6 => 8 |