View Issue Details

IDProjectCategoryView StatusLast Update
15976Bug reportsExpression Managerpublic2020-03-13 08:35
ReporterDeveloperChris Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version4.1.10 
Summary15976: Expression manager not run on response exports resulting in unusable responses
Description

When exporting responses from a survey the expression manager is not run on the responses leaving them to be in some cases unusable.

When trying to resolve the problem I found this similar problem
https://www.limesurvey.org/community/forums/design-issues/117422-survey-responses-shows-expression-rather-than-what-the-user-selected

However when I tried to use the LSS file created by Denis it resulted in the same unusable response I was trying to resolve

When the responses are sent as a detailed email to the administrator, they work correctly. its just when exporting them in bulk or using the single queuexml pdf export

Steps To Reproduce

import the attached LSS file (created by Denis)
activate the survey
create a response
export the response

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.1.6+200220
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
BrowserNA
Database & DB-VersionNA
Server OS (if known)NA
Webserver software & version (if known)NA
PHP Version7.3

Activities

DeveloperChris

DeveloperChris

2020-03-12 05:41

reporter  

DenisChenu

DenisChenu

2020-03-12 07:52

developer   ~56414

PDF export : no Expression (in reponse or question)
PDF Print answers : Expression.
My opinion : not a bug

Solution : construct a new export ?

DeveloperChris

DeveloperChris

2020-03-12 09:10

reporter   ~56419

This effects all exports. not just PDF's

DenisChenu

DenisChenu

2020-03-12 09:28

developer   ~56420

Yes : export : no Expression .....

DeveloperChris

DeveloperChris

2020-03-12 23:50

reporter   ~56435

Then what is the purpose of the expression engine switch? how does it influence the exports as it is not apparent. it seemed to have no effect at all.

DenisChenu

DenisChenu

2020-03-13 08:35

developer   ~56436

  1. Headings : only the header, not the answer
  2. Use ExpressionScript code: mean https://manual.limesurvey.org/Expression_Manager#Qcode_Variable_Naming

Maybe we can be more clear, but it's not "use ExpressionScript on text"

Issue History

Date Modified Username Field Change
2020-03-12 05:41 DeveloperChris New Issue
2020-03-12 05:41 DeveloperChris File Added: limesurvey_survey_864787equation.lss
2020-03-12 05:41 DeveloperChris File Added: 2020-03-12 14_24_09-Computed_Ranking_Test(4).pdf.png
2020-03-12 07:52 DenisChenu Note Added: 56414
2020-03-12 09:10 DeveloperChris Note Added: 56419
2020-03-12 09:28 DenisChenu Note Added: 56420
2020-03-12 23:50 DeveloperChris Note Added: 56435
2020-03-13 08:35 DenisChenu Note Added: 56436