View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05592Bug reportsOtherpublic2012-03-14 21:08
Reporteruser16048Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05592: Wrong answer mapping for dual scale matrix in detailed admin notification email
Description

A detailed admin notification email is being sent to me for a survey that uses a dual scale matrix. The answers-mapping in the email seems to be wrong (but only in the email, in the database, the show answers feature or exported files the mapping is correct). Some answers from the second matrix are shown as answer for the first matrix.

Answers of left matrix: 1 2 3 4 5
Answers of right matrix: sinkend gleich steigend

Answers in notification email:
mail 1:
Standortübergreifende Zusammenarbeit: steigend [2] (wrong, should be 2 [2])
Standortübergreifende Zusammenarbeit: gleich [1] (correct)
Abteilungsübergreifende Zusammenarbeit: 3 [3] (correct)
Abteilungsübergreifende Zusammenarbeit: sinkend [0] (correct)

mail 2:
Standortübergreifende Zusammenarbeit 3 [3] (correct)
Standortübergreifende Zusammenarbeit gleich [1] (correct)
Abteilungsübergreifende Zusammenarbeit 3 [3] (correct)
Abteilungsübergreifende Zusammenarbeit sinkend [0] (correct)

mail 3:
Standortübergreifende Zusammenarbeit steigend [2] (wrong, should be 2 [2])
Standortübergreifende Zusammenarbeit gleich [1] (correct)
Abteilungsübergreifende Zusammenarbeit steigend [2] (wrong, should be 2 [2])
Abteilungsübergreifende Zusammenarbeit gleich [1] (correct)

Steps To Reproduce
  • Run a survey with a dual scale matrix question and detailed admin notification email
  • Look at the email.
TagsNo tags attached.
Attached Files
WrongMapping.jpg (125,488 bytes)
Bug heat6
Complete LimeSurvey version number (& build)11379
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL Community Server 5.5.8
Server OS (if known)Windows Server 2008 R2 Standard
Webserver software & version (if known)Apache 2.2.17
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-01-20 16:14

reporter   ~16859

vierundzwanzig-

Is this a problem in 1.92?

user16048

2012-01-23 13:33

  ~16903

I cannot run a survey at the moment. Build 12145 made some changes in the database and I just fetched the changes from SVN. So I'll wait for 1.92RC3, do a clean install and check if this problem still exists.

TMSWhite

TMSWhite

2012-01-23 14:58

reporter   ~16904

There were some external database changes to make all database fields lowercase. GoogleAnalyticsAPIKey and GoogleAnalyticsStyle were mixed case, so build 12145 breaks them (and several other functions). If you edit your database to lower-case those two fields in the surveys table, you should be able to run the surveys again.

Also, please attach the actual survey so I can test it.

user16048

2012-01-23 15:34

  ~16906

I renamend the collumns and the survey now works but the answers in the detailed admin notification email are still mapped wrong.

I attached the survey in which the problem occured.

TMSWhite

TMSWhite

2012-01-23 17:09

reporter   ~16925

This is also a bug in 1.92 and 2.0

As you say, the data in the database is correct. The problem is that all of the displays (print answers, browse answers, email notification) are showing the wrong value for the dual scale. That appears to be a problem with getExtendedAnswer()

/Tom

c_schmitz

c_schmitz

2012-02-01 23:51

administrator   ~17154

Fixed in rev 12292

c_schmitz

c_schmitz

2012-02-06 14:26

administrator   ~17250

New 1.91+ version released.

Related Changesets

LimeSurvey: Yii 7bd6fc5b

2012-02-01 14:49:11

c_schmitz

Details Diff
Fixed issue 05592: Wrong answer mapping for dual scale matrix in detailed admin notification email

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12293 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05592
mod - application/helpers/common_helper.php Diff File

LimeSurvey: Yii 9ed7bb57

2012-02-05 07:13:14

c_schmitz

Details Diff
Fixed issue 05592: Wrong answer mapping for dual scale matrix in detailed admin notification email

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12356 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05592
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2011-11-22 16:03 user16048 New Issue
2011-11-22 16:03 user16048 File Added: WrongMapping.jpg
2011-12-29 19:13 c_schmitz Assigned To => c_schmitz
2011-12-29 19:13 c_schmitz Status new => assigned
2012-01-20 16:14 TMSWhite Note Added: 16859
2012-01-23 13:33 user16048 Note Added: 16903
2012-01-23 14:58 TMSWhite Note Added: 16904
2012-01-23 15:30 user16048 File Added: limesurvey_survey_66287.lss
2012-01-23 15:34 user16048 Note Added: 16906
2012-01-23 17:09 TMSWhite Note Added: 16925
2012-02-01 23:51 c_schmitz Status assigned => resolved
2012-02-01 23:51 c_schmitz Fixed in Version => 1.91+
2012-02-01 23:51 c_schmitz Resolution open => fixed
2012-02-01 23:51 c_schmitz Note Added: 17154
2012-02-06 14:26 c_schmitz Note Added: 17250
2012-02-06 14:26 c_schmitz Status resolved => closed
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii 9ed7bb57
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii 7bd6fc5b