View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03505Bug reportsSurvey takingpublic2009-07-29 11:11
ReporterMazi Assigned Tolemeur  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.85+ 
Summary03505: INSERTANS not working when referring to Array (flexible labels) questions
Description

I attached a sample survey for testing. This one contains 2 groups. You can forget about the first one. At the second one there are several question all of type Array (flexible labels). The last question of this group should list the previous answers of the questions of this group using INSERTANS but it just shows nothing. I added the INSERTANS links using the editor and chcked twice. No data is taken over.

Additional Information

If there is any question feel free to contact me in IRC. This is an urgent one because this question type is used at a big project I'm working on. Fixing this fast should lead to an according donation.

TagsNo tags attached.
Attached Files
INSERTANS-Bug.csv (33,461 bytes)
Bug heat6
Complete LimeSurvey version number (& build)7340
I will donate to the project if issue is resolved
BrowserFF3
Database type & versionMy Sql 5.1.30
Server OS (if known)Win XP Sp 3
Webserver software & version (if known)Apache 2.2
PHP Version5.2

Relationships

child of 03516 closedc_schmitz Assessments not working when referring to Array (flexible labels) questions 

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-07-24 18:44

  ~08924

I can reproduce the issue.

Mazi

Mazi

2009-07-25 00:00

updater   ~08941

ElMatador69, I think there is another error. Thought there is an assigment set for the group with error flexible labels questions the results never show up.

Can you confirm that assessments are not working correctly for this question type?

lemeur

lemeur

2009-07-25 00:15

developer   ~08942

Mazi,

After some tests, I think this is not an issue with INSERTANS, but with your labels containing HTML tags, because with standard labels it works ok.

Please try the following:
in "common.php" line 2149

Change
return strip_tags($this_answer);

By
return $this_answer;

Mazi

Mazi

2009-07-25 01:18

updater   ~08943

Fixed at rev. 7348.

Fix was provided by lemeur.

Issue History

Date Modified Username Field Change
2009-07-22 23:17 Mazi New Issue
2009-07-22 23:17 Mazi Status new => assigned
2009-07-22 23:17 Mazi Assigned To => user372
2009-07-22 23:17 Mazi File Added: INSERTANS-Bug.csv
2009-07-22 23:17 Mazi Build Number => 7340
2009-07-22 23:17 Mazi Browser => FF3
2009-07-22 23:17 Mazi Database & DB-Version => My Sql 5.1.30
2009-07-22 23:17 Mazi Operating System (Server) => Win XP Sp 3
2009-07-22 23:17 Mazi Webserver => Apache 2.2
2009-07-22 23:17 Mazi PHP Version => 5.2
2009-07-24 18:44 user372 Note Added: 08924
2009-07-24 18:45 user372 Assigned To user372 => lemeur
2009-07-25 00:00 Mazi Note Added: 08941
2009-07-25 00:15 lemeur Note Added: 08942
2009-07-25 01:18 Mazi Note Added: 08943
2009-07-25 01:18 Mazi Status assigned => resolved
2009-07-25 01:18 Mazi Fixed in Version => 1.85+
2009-07-25 01:18 Mazi Resolution open => fixed
2009-07-25 01:46 Mazi Relationship added child of 03516
2009-07-29 11:11 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking