View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10861Bug reportsSurvey editingpublic2016-04-07 23:55
Reportermaxmediapictures Assigned Toollehar  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10861: Second label of bipolar marix question does not appear (in html)
Description

When creating a bipolar matrix question like this (please also see the example screenshot attached):

Please rate your experience:
hot o o o o o cold
good o o o o o bad

Creating subquestions using the syntax:
hot | cold
good | bad

The second label ("cold", "bad") is not shown. The question will be shown to the user like this:

Please rate your experience:
hot o o o o o
good o o o o o

The second label does not appear in the html code.

Steps To Reproduce

Create a bipolar rating question by using a matrix question type and the syntax for subquestions "<left> | <right>".

Please see attached sample question.

TagsNo tags attached.
Attached Files
example.zip (19,060 bytes)
updated_example.zip (89,253 bytes)
Bug heat6
Complete LimeSurvey version number (& build)Build 160401
I will donate to the project if issue is resolvedNo
Browser
Database type & version257
Server OS (if known)XAMPP Windows
Webserver software & version (if known)XAMPP
PHP Version 5.6.19

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-04-06 11:30

administrator   ~37025

Will fix. Please attach a complete survey with the question next time.

ollehar

ollehar

2016-04-06 15:37

administrator   ~37040

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

maxmediapictures

maxmediapictures

2016-04-07 10:30

reporter   ~37046

Thank you so much for fixing it so quickly!

maxmediapictures

maxmediapictures

2016-04-07 12:04

reporter   ~37048

It is now possible to add a label on the right side of the question.

Unfortunately for each row of the question a label in the table head will be added. As a result the table-head becomes wider than the table body creating a white space next to the table.

Please refer to the attached files for an example.
Thanks again for your great work!

ollehar

ollehar

2016-04-07 12:14

administrator   ~37049

Hi!

Yeah, I'm still working on this one. Thanks for your survey attachment, I will use it when I test.

ollehar

ollehar

2016-04-07 12:14

administrator   ~37050

Btw, the extra column is for "No answer", but shouldn't be there in this case, of course.

maxmediapictures

maxmediapictures

2016-04-07 12:22

reporter   ~37051

Hey, thanks for replaying so quickly!

A hacky workaround until there is a solution would be to just hide these table head cells.

thead .answertextright{
display: none;
}

ollehar

ollehar

2016-04-07 12:31

administrator   ~37052

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

ollehar

ollehar

2016-04-07 12:39

administrator   ~37053

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

c_schmitz

c_schmitz

2016-04-07 23:55

administrator   ~37109

Version 2.50 Build 160407 released

Related Changesets

LimeSurvey: master cf4cde09

2016-04-06 13:36:02

ollehar

Details Diff
Fixed issue 10861: Second label of bipolar marix question does not
appear (in html)
Affected Issues
10861
mod - application/helpers/qanda_helper.php Diff File
mod - application/views/survey/questions/arrays/array/dropdown/rows/answer_row.php Diff File
mod - application/views/survey/questions/arrays/array/no_dropdown/rows/answer_row.php Diff File
mod - application/views/survey/questions/arrays/array/no_dropdown/rows/cells/answer_td.php Diff File
mod - application/views/survey/questions/arrays/array/no_dropdown/rows/cells/thead.php Diff File
mod - templates/default/css/template.css Diff File

LimeSurvey: master 9c246dd0

2016-04-07 10:29:55

ollehar

Details Diff
Fixed issue 10861: Second label of bipolar marix question does not
appear (in html)
Affected Issues
10861
mod - application/helpers/qanda_helper.php Diff File

LimeSurvey: master a76ad47f

2016-04-07 10:39:36

ollehar

Details Diff
Fixed issue 10861: Second label of bipolar marix question does not
appear (in html)
Affected Issues
10861
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2016-04-04 11:32 maxmediapictures New Issue
2016-04-04 11:32 maxmediapictures File Added: example.zip
2016-04-04 11:41 c_schmitz Priority none => urgent
2016-04-06 11:15 ollehar Assigned To => ollehar
2016-04-06 11:15 ollehar Status new => assigned
2016-04-06 11:30 ollehar Note Added: 37025
2016-04-06 15:37 ollehar Changeset attached => LimeSurvey master cf4cde09
2016-04-06 15:37 ollehar Note Added: 37040
2016-04-06 15:37 ollehar Resolution open => fixed
2016-04-06 15:38 ollehar Status assigned => resolved
2016-04-06 15:38 ollehar Fixed in Version => 2.5
2016-04-07 10:30 maxmediapictures Note Added: 37046
2016-04-07 12:04 maxmediapictures Note Added: 37048
2016-04-07 12:04 maxmediapictures Status resolved => feedback
2016-04-07 12:04 maxmediapictures Resolution fixed => reopened
2016-04-07 12:06 maxmediapictures File Added: updated_example.zip
2016-04-07 12:14 ollehar Note Added: 37049
2016-04-07 12:14 ollehar Note Added: 37050
2016-04-07 12:22 maxmediapictures Note Added: 37051
2016-04-07 12:22 maxmediapictures Status feedback => assigned
2016-04-07 12:31 ollehar Changeset attached => LimeSurvey master 9c246dd0
2016-04-07 12:31 ollehar Note Added: 37052
2016-04-07 12:39 ollehar Changeset attached => LimeSurvey master a76ad47f
2016-04-07 12:39 ollehar Note Added: 37053
2016-04-07 12:47 ollehar Status assigned => resolved
2016-04-07 12:47 ollehar Resolution reopened => fixed
2016-04-07 23:55 c_schmitz Note Added: 37109
2016-04-07 23:55 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing