View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06798Bug reportsSurvey editingpublic2012-10-30 08:41
Reporterspacejanitor Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.00+ 
Summary06798: qCode naming convention inconsistency
Description

In the EM documentation, there is no mention of qCode being a local (to the current group) variable: http://docs.limesurvey.org/Expression+Manager#Qcode_Variable_Naming

This brings about some inconsistency:
-You cannot reference a qCode by its name outside of its group (as far as I can see, using the naming convention outlined in EM documentation).
-Since a question code can be duplicated in a different group, this means qCodes are not unique across a survey. So if I have Q1 in Group1, and Q1 in Group2, how would EM know which Q1 I want to reference?

Either we must change the EM documentation to state that qCode can only be referenced inside its own Group, or we should change implementation of qCode naming to be something like: {groupName}.{qCode}

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121025
I will donate to the project if issue is resolvedNo
BrowserFirefox 16
Database type & versionMySQL 5
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 5

Users monitoring this issue

There are no users monitoring this issue.

Activities

spacejanitor

spacejanitor

2012-10-30 00:59

reporter   ~21751

Sorry - please close this. TMSWhite has clarified this functionality for me, and as long as only one variable is used throughout the project, everything should work as expected.

Thank you!

Issue History

Date Modified Username Field Change
2012-10-29 17:16 spacejanitor New Issue
2012-10-30 00:59 spacejanitor Note Added: 21751
2012-10-30 08:41 c_schmitz Status new => closed
2012-10-30 08:41 c_schmitz Assigned To => c_schmitz
2012-10-30 08:41 c_schmitz Resolution open => no change required
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing