View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19722Feature requestsRemoteControlpublic2024-09-20 14:33
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityfeature 
Status resolvedResolutionfixed 
Summary19722: Unable to use ExpressionScript code when export by remote control
Description

There are some option unavailable when export by remote control, for example emcode, codetextseparator, striphtmlcode etc …

Additional Information

There are a dedicated parameter : https://api.limesurvey.org/classes/remotecontrol-handle.html#method_export_responses but only for convert

TagsNo tags attached.
Bug heat4
Story point estimate0
Users affected %0

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-08-28 10:55

developer   ~80842

https://github.com/LimeSurvey/LimeSurvey/pull/3948

tibor.pacalat

tibor.pacalat

2024-09-18 15:34

administrator   ~81039

Hey @DenisChenu, I don't quite understand how to verify this fix. Can you provide me with an example payload?

DenisChenu

DenisChenu

2024-09-18 16:22

developer   ~81048

With remote control : try this settings emcode , codetextseparator etc …
You have it in GUI, but no way in remote control.

aAdditionalOptions = ['emcode' => true]

tibor.pacalat

tibor.pacalat

2024-09-19 17:17

administrator   ~81059

@DenisChenu I have tested something like this, but I don't see for example the underscores in exported data.

DenisChenu

DenisChenu

2024-09-19 17:20

developer   ~81060

headerSpacesToUnderscores : https://github.com/LimeSurvey/LimeSurvey/blob/d023ca2743e52596fd748c5c8c44e49c596c4029/application/helpers/admin/export/FormattingOptions.php#L43C13-L43C38

Maybe add the link to comment @see \FormattingOptions ?

DenisChenu

DenisChenu

2024-09-19 17:24

developer   ~81061

@param array $aAdditionalOptions (optional) Addition options for export, @see \FormattingOptions, example : 'convertY', 'convertN', 'nValue', 'yValue', 'headerSpacesToUnderscores', 'useEMCode'

I can not really add all options ? Right ?

tibor.pacalat

tibor.pacalat

2024-09-20 10:40

administrator   ~81064

What do you mean?

DenisChenu

DenisChenu

2024-09-20 10:43

developer   ~81065

Addition options for export ^@see \FormattingOptions, example : 'convertY', 'convertN', 'nValue', 'yValue', 'headerSpacesToUnderscores', 'useEMCode'

https://github.com/LimeSurvey/LimeSurvey/pull/3948/commits/fde4efb51c63b2ab6a711f81d79cd1d968bd604f

DenisChenu

DenisChenu

2024-09-20 10:46

developer   ~81066

Else : code are headerSpacesToUnderscores

tibor.pacalat

tibor.pacalat

2024-09-20 12:58

administrator   ~81067

Ah I got it now, all good, thanks!

DenisChenu

DenisChenu

2024-09-20 14:33

developer   ~81068

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

Related Changesets

LimeSurvey: master 090372d4

2024-09-20 14:32:55

DenisChenu


Committer: GitHub Details Diff
New feature 19722: Unable to use ExpressionScript code when export by remote control (#3948) Affected Issues
19722
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2024-08-27 18:27 DenisChenu New Issue
2024-08-28 10:06 DenisChenu Assigned To => DenisChenu
2024-08-28 10:06 DenisChenu Status new => assigned
2024-08-28 10:55 DenisChenu Note Added: 80842
2024-08-28 10:55 DenisChenu Bug heat 0 => 2
2024-08-28 10:55 DenisChenu Assigned To DenisChenu => gabrieljenik
2024-08-28 10:55 DenisChenu Status assigned => ready for code review
2024-08-28 15:47 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2024-08-28 15:47 gabrieljenik Status ready for code review => ready for testing
2024-09-18 15:34 tibor.pacalat Note Added: 81039
2024-09-18 15:34 tibor.pacalat Bug heat 2 => 4
2024-09-18 16:22 DenisChenu Note Added: 81048
2024-09-18 16:22 DenisChenu File Added: Capture d’écran du 2024-09-18 16-20-50.png
2024-09-19 17:17 tibor.pacalat Note Added: 81059
2024-09-19 17:17 tibor.pacalat File Added: Screenshot 2024-09-19 at 17.15.58.png
2024-09-19 17:20 DenisChenu Note Added: 81060
2024-09-19 17:24 DenisChenu Note Added: 81061
2024-09-20 10:40 tibor.pacalat Note Added: 81064
2024-09-20 10:43 DenisChenu Note Added: 81065
2024-09-20 10:46 DenisChenu Note Added: 81066
2024-09-20 12:58 tibor.pacalat Note Added: 81067
2024-09-20 14:33 DenisChenu Changeset attached => LimeSurvey master 090372d4
2024-09-20 14:33 DenisChenu Note Added: 81068
2024-09-20 14:33 DenisChenu Assigned To tibor.pacalat => DenisChenu
2024-09-20 14:33 DenisChenu Resolution open => fixed
2024-09-20 14:33 tibor.pacalat Status ready for testing => resolved