View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
11436Bug reportsPrint Viewpublic2016-07-19 12:49
Reporterrandom1 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Product Version2.50.x 
Summary11436: Question with relevance equation based on token attributes not listed in print answers
Description

I have a question of type "display text" which uses token attributes in the text and also in the relevance equation.
Providing the required token_attributes, this question is displayed when filling out the survey, but completely missing in the following "print answers" page.

Steps To Reproduce

Use the attached survey archive and then use one of the tokens to fill out the survey.

Additional Information

I tried to debug this and it seems like the question is seen as not "relevant" anymore when printing the answers, even though it was relevant when still filling out the survey.

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)Version 250+ Build 160620
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgresql 9.4
Server OS (if known)Linux (Debian8)
Webserver software & version (if known)Apache 2.4
PHP Version5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2016-07-19 12:49

administrator   ~39986

The relevance equation is invalid.
A valid equation for question abc would be

(TOKEN:ATTRIBUTE_1 != "0") || (TOKEN:ATTRIBUTE_2 != "0") || (TOKEN:ATTRIBUTE_3 != "0") || (TOKEN:ATTRIBUTE_4 != "0")

Please do not open bug report if you are not completely that sure it is a bug.
A more simple relevance equation would have revealed that immediately.

Issue History

Date Modified Username Field Change
2016-07-07 11:56 random1 New Issue
2016-07-07 11:56 random1 File Added: survey_archive_363825.lsa
2016-07-19 12:49 c_schmitz Note Added: 39986
2016-07-19 12:49 c_schmitz Status new => closed
2016-07-19 12:49 c_schmitz Assigned To => c_schmitz
2016-07-19 12:49 c_schmitz Resolution open => no change required