View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08406Bug reportsInstallationpublic2013-12-02 21:26
Reportergkuchyt Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary08406: Upgrade from 1.92 yields Property "Tokens_dynamic.blacklisted" is not defined.
Description

This seems related to issue 07247.

We are running our production instance at 1.92+ build 120509 with a dbversion of 155.

When upgrading a copy of our production instance to use the 2.00+ build 20131031 version of code I experience the following. Registering for a survey with tokens enabled yields an error: Property Tokens_dynamic.blacklisted is not defined.

Upon looking at the database schema our tables migrated from 1.92+ do not have the blacklist column. When I create a new survey that uses tokens (using the 2.x series code), that survey's token table has the blacklist column. Is it possible that the change introduced to resolve issue 07247 was not back-ported to the 1.9x series and we were able to skip our database forward to a dbversion that allowed us to escape the check put in place as the fix for 07247 (it looks like it only gets applied if the dbversion is < 148?). Thanks and let me know what other information I can provide to help flesh this out.

Steps To Reproduce

This is somewhat unique.

Take a db version of 155 in 1.92+ code series and perform an upgrade to 2.00+. Look at any survey with tokens enabled in the database, they should only have 15 columns, missing the participant_id and blacklisted columns.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)1.92+ Build 120509
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Apache 2.2
PHP Version5.3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-11-26 09:27

administrator   ~27400

It should fix itself if you visit that token table once in the administration.

c_schmitz

c_schmitz

2013-11-26 09:28

administrator   ~27401

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

c_schmitz

c_schmitz

2013-11-26 10:08

administrator   ~27403

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=13511

c_schmitz

c_schmitz

2013-12-02 21:26

administrator   ~27472

Version 2.00+ Build 131202 released

Related Changesets

LimeSurvey: master 71d6d1cc

2013-11-26 08:28:31

c_schmitz

Details Diff
Fixed issue 08406: Upgrade from 1.92 yields Property "Tokens_dynamic.blacklisted" is not defined. Affected Issues
08406
mod - application/helpers/update/updatedb_helper.php Diff File

LimeSurvey: 2.05 9eaedb45

2013-11-26 08:28:31

c_schmitz

Details Diff
Fixed issue 08406: Upgrade from 1.92 yields Property "Tokens_dynamic.blacklisted" is not defined. Affected Issues
08406
mod - application/helpers/update/updatedb_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-11-25 17:00 gkuchyt New Issue
2013-11-26 09:26 c_schmitz Assigned To => c_schmitz
2013-11-26 09:26 c_schmitz Status new => assigned
2013-11-26 09:27 c_schmitz Note Added: 27400
2013-11-26 09:28 c_schmitz Status assigned => resolved
2013-11-26 09:28 c_schmitz Fixed in Version => 2.00+
2013-11-26 09:28 c_schmitz Resolution open => fixed
2013-11-26 09:28 c_schmitz Changeset attached => LimeSurvey master 71d6d1cc
2013-11-26 09:28 c_schmitz Note Added: 27401
2013-11-26 10:08 c_schmitz Changeset attached => LimeSurvey 2.05 9eaedb45
2013-11-26 10:08 c_schmitz Note Added: 27403
2013-12-02 21:26 c_schmitz Note Added: 27472
2013-12-02 21:26 c_schmitz Status resolved => closed