View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06240Bug reportsConditionspublic2012-06-22 10:05
ReporterTMSWhite Assigned ToTMSWhite  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06240: conversion of conditions to relevance can fail for multiple choice tests during some upgrades
Description

Some older versions of LS are using inconsistent representation of "no answer"

Some use " " to mean no answer - those convert fine (to is_empty(x))
Some use "" to mean no answer - those convert wrong (to !is_empty(x) && x=="")

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120620
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Relationships

related to 06171 closedTMSWhite variable < X is true even if variable isn't answered 

Users monitoring this issue

marcrichter

Activities

marcrichter

marcrichter

2012-06-20 16:25

reporter   ~19421

Looks related to my problem... #-/

M

TMSWhite

TMSWhite

2012-06-20 16:27

reporter   ~19422

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

TMSWhite

TMSWhite

2012-06-20 16:32

reporter   ~19423

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

TMSWhite

TMSWhite

2012-06-20 16:46

reporter   ~19424

This problem was introduced in commit https://github.com/LimeSurvey/LimeSurvey/commit/6a43810b20733fabfe9eea6238c9c940adb22aab to resolve issue 06171 on June 5, 2012

marcrichter

marcrichter

2012-06-21 10:27

reporter   ~19427

Thanks Thomas, this fixes an issue that remained with the survey attached to issue 06188 (the conditions for questions A1++ and A2++). Any chance this fix could make it into a release really soon (ideally before the end of the week)? :-)

Related Changesets

LimeSurvey: master 8f81682b

2012-06-20 07:25:36

TMSWhite

Details Diff
Fixed issue 06240: conversion of conditions to relevance can fail for multiple choice tests during some upgrades
Dev included a minor DB upgrade from 155.5 to 155.6 so that affected users automatically have ConvertConditionsToRelevance() run for them.
Affected Issues
06240
mod - admin/install/create-mssql.sql Diff File
mod - admin/install/create-mssqlnative.sql Diff File
mod - admin/install/create-mysql.sql Diff File
mod - admin/install/create-postgres.sql Diff File
mod - admin/update/upgrade-mssql.php Diff File
mod - admin/update/upgrade-mssqlnative.php Diff File
mod - admin/update/upgrade-mysql.php Diff File
mod - admin/update/upgrade-postgres.php Diff File
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 6bfea3b6

2012-06-20 07:31:26

TMSWhite

Details Diff
Fixed issue 06240: conversion of conditions to relevance can fail for multiple choice tests during some upgrades. Affected Issues
06240
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-06-20 16:15 TMSWhite New Issue
2012-06-20 16:22 TMSWhite Relationship added related to 06188
2012-06-20 16:24 marcrichter Issue Monitored: marcrichter
2012-06-20 16:25 marcrichter Note Added: 19421
2012-06-20 16:27 TMSWhite Changeset attached => LimeSurvey master 8f81682b
2012-06-20 16:27 TMSWhite Note Added: 19422
2012-06-20 16:27 TMSWhite Assigned To => TMSWhite
2012-06-20 16:27 TMSWhite Resolution open => fixed
2012-06-20 16:27 TMSWhite Status new => resolved
2012-06-20 16:27 TMSWhite Fixed in Version => 1.92+
2012-06-20 16:32 TMSWhite Changeset attached => LimeSurvey Yii 6bfea3b6
2012-06-20 16:32 TMSWhite Note Added: 19423
2012-06-20 16:43 TMSWhite Relationship added related to 06171
2012-06-20 16:44 TMSWhite Relationship deleted related to 06188
2012-06-20 16:46 TMSWhite Note Added: 19424
2012-06-20 16:51 TMSWhite Category Data Entry (non public) => Conditions
2012-06-21 10:27 marcrichter Note Added: 19427
2012-06-22 10:05 c_schmitz Status resolved => closed
2021-08-02 16:41 guest Bug heat 4 => 6