View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
12029Bug reportsExpression Managerpublic2017-02-21 12:01
ReporterMBAK Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.55.x 
Fixed in Version2.63.x 
Summary12029: EM for {Qcode.shown} not working after Update
Description

Using the EM to fill in an answer from a short text question into a subquestion from a matrix question does not work after the Update to:
Version 2.57.1+161205

Tested with default template

Steps To Reproduce
  1. Create a short text question (Q1)
  2. Make a matrix question
    2.1: use {Q1.shown} in a subquestion from the matrix question
Additional Information

See forum post https://www.limesurvey.org/forum/installation-a-update-issues/107999-problem-with-em-in-matrix-subquestion#146598 tested further and the Bug seems to be linked to .shown :
Even a simple : {Q1.NAOK} - {Q1.shown} inside question text (of Q1) show the issue.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Version 2.57.1+161205
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMariaDB 5.5.41
Server OS (if known)Linux adomino.com 2.6.26-2-openvz-amd64
Webserver software & version (if known)Apache/2.2.9 (Debian)
PHP Version5.2.6-1+lenny3

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2017-01-06 12:21

administrator   ~42667

First of all, please update your PHP version to at least 5.4.

DenisChenu

DenisChenu

2017-01-06 12:41

developer   ~42668

Last edited: 2017-01-06 12:43

Confirm the issue with PHP Version 5.6.29-1~dotdeb+7.1

  • Release 2.58.0 Build 170104
  • and updated to GIT too master

There are another difference with NAOK, (see screenshot)

DenisChenu

DenisChenu

2017-02-02 18:22

developer   ~42942

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

Related Changesets

LimeSurvey: master e98eec1d

2017-02-02 19:20

DenisChenu


Details Diff
Fixed issue 12029: EM for {Qcode.shown} not working after Update
Dev: js seems totally broken ..
Dev: use htmlentities for text : same than PHP for text
Affected Issues
12029
mod - scripts/expressions/em_javascript.js Diff File

Issue History

Date Modified Username Field Change
2017-01-04 11:24 MBAK New Issue
2017-01-04 11:24 MBAK File Added: limesurvey_survey_965422.lss
2017-01-04 11:40 DenisChenu Issue Monitored: DenisChenu
2017-01-04 11:40 DenisChenu Additional Information Updated
2017-01-06 12:21 ollehar Assigned To => ollehar
2017-01-06 12:21 ollehar Status new => feedback
2017-01-06 12:21 ollehar Note Added: 42667
2017-01-06 12:40 DenisChenu File Added: limesurvey_survey_193114.lss
2017-01-06 12:41 DenisChenu Note Added: 42668
2017-01-06 12:41 DenisChenu Status feedback => assigned
2017-01-06 12:43 DenisChenu Note Edited: 42668
2017-01-06 12:43 DenisChenu File Added: Capture du 2017-01-06 12-42-05.png
2017-02-02 18:22 DenisChenu Changeset attached => LimeSurvey master e98eec1d
2017-02-02 18:22 DenisChenu Note Added: 42942
2017-02-02 18:22 DenisChenu Assigned To ollehar => DenisChenu
2017-02-02 18:22 DenisChenu Resolution open => fixed
2017-02-02 18:23 DenisChenu Status assigned => resolved
2017-02-02 18:23 DenisChenu Fixed in Version => 2.62.x
2017-02-13 22:44 DenisChenu Issue End Monitor: DenisChenu
2017-02-21 12:01 c_schmitz Status resolved => closed
2017-02-21 12:01 c_schmitz Fixed in Version 2.62.x => 2.63.x