LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06798Bug reports[All Projects] Survey designpublic2012-10-29 17:162012-10-30 08:41
Reporterspacejanitor 
Assigned Toc_schmitz 
PrioritynormalSeverityminor 
StatusclosedResolutionno change required 
Product Version2.00+ 
Target VersionFixed in Version 
Summary06798: qCode naming convention inconsistency
DescriptionIn 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}
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number OR git commit ID121025
BrowserFirefox 16
Database & DB-VersionMySQL 5
Operating System (Server)Ubuntu
Webserver software & versionApache 2.4
PHP VersionPHP 5
Attached Files

- Relationships

-  Notes
User avatar (21751)
spacejanitor (reporter)
2012-10-30 00:59

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


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker