View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06808Bug reportsSurvey participants (Tokens)public2012-11-06 10:37
Reporterretsofaj Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06808: Inconsistent access to information from the token table
Description

A text display question is only able to display updated token information if it is re-saved after changes to the token table.

Steps To Reproduce
  • launch Safari on OS X 10.8.2 and access the survey site
  • create a new survey
    • Title: Testing
  • add a new question group
    • Title: Group
  • add a new question to question group "Group"
    • Code: QUESTION
    • Question Type: Text display
    • Question:
      • click on "Limesurvey replacement fields"
      • select "Firstname from token" and click OK
      • click on "Add Question"
  • add token
    • click on Token management
    • click on "Initialize tokens" then Continue
    • click on "Add new token entry"
      • First name: FirstName
      • Token: test
      • click on "Add token entry"
      • click on "Display tokens" and verify that the token was added
  • click on "Return to survey administration"
  • click on "Test this survey"
  • enter token "test" and click on Continue
  • click on Next
  • SEE "TOKEN:FIRSTNAME" IN RED TEXT ON A YELLOW BACKGROUND IN A RED BOX
  • close the test window
  • edit the question text
    • UNABLE TO CLICK IN AN INSERTION POINT
    • select all and delete
    • type a "["
    • click on "Limesurvey replacement fields"
    • select "Firstname from token" and click OK
    • type a "]"
    • click on Save
  • click on "Test this survey"
  • enter token "test" and click on Continue
  • click on Next
  • see "[FirstName]" as expected
  • close the test window
  • modify token
    • click on Token management
    • click on "Display tokens"
    • click on "Edit token"
      • First name: FirstName-Edited
    • click on the checkmark
  • click on "Return to survey administration"
  • click on "Test this survey"
  • enter token "test" and click on Continue
  • click on Next
  • SEE "[FirstName]" INSTEAD OF THE EXPECTED VALUE
  • close the test window
  • edit the question
    • click on Save without changing anything
  • click on "Test this survey"
  • enter token "test" and click on Continue
  • click on Next
  • see "[FirstName-Edited]" as expected
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)121030
I will donate to the project if issue is resolvedNo
BrowserSafari
Database type & versionMySQL 5.5.15
Server OS (if known)OS X 10.8.2
Webserver software & version (if known)Apache/2.2.22 (Unix) mod_wsgi/3.3 Python/2.7.2 mod_fastcgi/2.4.6 mod_auth_kerb/5.4 PHP/5.3.15 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 mod_perl/2.0.5 Perl/v5.12.4 Server at localhost Port 443
PHP VersionPHP/5.3.15

Relationships

related to 06768 closedc_schmitz Relevance equation works at question level but not at the group level 

Users monitoring this issue

There are no users monitoring this issue.

Activities

retsofaj

retsofaj

2012-10-31 14:08

reporter   ~21818

http://bugs.limesurvey.org/view.php?id=6813 seems to be related to this issue.

c_schmitz

c_schmitz

2012-11-01 15:31

administrator   ~21878

Please update to Build 121101 and report if the issue still exists. Thank you.

retsofaj

retsofaj

2012-11-01 23:16

reporter   ~21883

Updated, and installed in a completely fresh database. Unfortunately the issue still exists.

c_schmitz

c_schmitz

2012-11-06 09:00

administrator   ~21969

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

c_schmitz

c_schmitz

2012-11-06 09:01

administrator   ~21970

Last edited: 2012-11-06 09:01

Can you please apply the changes from the changeset and report if the issues are gone?

c_schmitz

c_schmitz

2012-11-06 09:49

administrator   ~21975

New version released.

c_schmitz

c_schmitz

2012-11-06 10:37

administrator   ~21987

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

Related Changesets

LimeSurvey: master 7c189704

2012-11-06 08:57

c_schmitz


Details Diff
Fixed issue 06808: Inconsistent access to information from the token table
Fixed issue: Testing from token table does not force a new session
Affected Issues
06808
mod - application/controllers/admin/tokens.php Diff File
mod - application/helpers/frontend_helper.php Diff File

LimeSurvey: 2.1 d2b48aba

2012-11-06 10:35

c_schmitz


Details Diff
Fixed issue 06808: Inconsistent access to information from the token table
Fixed issue: Testing from token table does not force a new session
Affected Issues
06808
mod - application/controllers/admin/tokens.php Diff File
mod - application/helpers/frontend_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-10-30 19:25 retsofaj New Issue
2012-10-31 14:08 retsofaj Note Added: 21818
2012-11-01 15:31 c_schmitz Note Added: 21878
2012-11-01 15:31 c_schmitz Assigned To => c_schmitz
2012-11-01 15:31 c_schmitz Status new => feedback
2012-11-01 23:16 retsofaj Note Added: 21883
2012-11-01 23:16 retsofaj Status feedback => assigned
2012-11-02 13:36 c_schmitz Relationship added related to 06768
2012-11-06 09:00 c_schmitz Changeset attached => LimeSurvey master 7c189704
2012-11-06 09:00 c_schmitz Note Added: 21969
2012-11-06 09:00 c_schmitz Resolution open => fixed
2012-11-06 09:01 c_schmitz Note Added: 21970
2012-11-06 09:01 c_schmitz Status assigned => resolved
2012-11-06 09:01 c_schmitz Fixed in Version => 2.00+
2012-11-06 09:01 c_schmitz Note Edited: 21970
2012-11-06 09:49 c_schmitz Note Added: 21975
2012-11-06 09:49 c_schmitz Status resolved => closed
2012-11-06 10:37 c_schmitz Changeset attached => LimeSurvey 2.1 d2b48aba
2012-11-06 10:37 c_schmitz Note Added: 21987
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)