View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19713Bug reportsSurvey takingpublic2024-12-20 16:37
Reportergabrieljenik Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionwon't fix 
Summary19713: Botstrap Buttons Multiple - When unchecking an exclusive option, the other options don't get re-enabled
Description

This happens for new fruity2023 as well as for old fruity

Steps To Reproduce

Steps to reproduce

Create a survey with a Bootstrap Buttons Questions.
Set an exclusive option

When taking the survey

  • Check the exclusive options
  • Uncheck it

Expected result

The other options get re-enabled

Actual result

The other options don't get re-enabled

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.x
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2024-08-20 22:50

manager   ~80786

https://github.com/LimeSurvey/LimeSurvey/pull/3942

DenisChenu

DenisChenu

2024-08-22 17:45

developer   ~80796

Update broken theme

gabrieljenik

gabrieljenik

2024-08-26 17:17

manager   ~80829

I believe the theme should be updated, but not on this ticket but on a DEV environment.

  • Avoid backward incompatibility with question themes already developed
  • Avoid unexpected situations from a structural change in the question theme
DenisChenu

DenisChenu

2024-08-26 19:09

developer   ~80830

Avoid backward incompatibility with question themes already developed

I don't understand ? You mean someone who copy this theme to create another one ? What backwrd compatibility ?

The theme is broken then, fix the theme !

Avoid unexpected situations from a structural change in the question theme

But you update core to avoid update a single theme ???

gabrieljenik

gabrieljenik

2024-08-26 21:39

manager   ~80833

You mean someone who copy this theme to create another one ? What backwrd compatibility ?

Yes... Maybe "backward incompatibility" is not the best term :) But, yes, pointing to that situation.

But you update core to avoid update a single theme ???

From my perspective, the impact and risk of the current patch is smaller than updating the theme.

If you prefer, we can ask someone (as to have a third opinion) or if you feel like, do you want to grab this ticket...?

DenisChenu

DenisChenu

2024-08-27 08:56

developer   ~80834

Yes, third opinion.

With a good reason because we don't want input.my_item, .mybroken-theme-item .tag finally.

gabrieljenik

gabrieljenik

2024-08-27 15:08

manager   ~80837

@c_schmitz thoughts?

With a good reason because we don't want input.my_item, .mybroken-theme-item .tag finally.

This is for the bootstrap buttons theme.
The current fix is not expected to grow with every custom theme.

DenisChenu

DenisChenu

2024-08-27 16:57

developer   ~80838

The current fix is not expected to grow with every custom theme.

Why ? You update core because THIS theme is broken. Then why not another fix after ?

See : https://manual.limesurvey.org/Theme_editor#Global_classes_for_question_part

gabrieljenik

gabrieljenik

2024-08-27 19:01

manager   ~80839

The current fix is not expected to grow with every custom theme.

Why ?

Becaise we don't support custom themes.

DenisChenu

DenisChenu

2024-08-27 21:12

developer   ~80840

Becaise we don't support custom themes.

OK, then we don't care with

Avoid backward incompatibility with question themes already developed
Avoid unexpected situations from a structural change in the question theme

The button theme is broken : fix the theme.

gabrieljenik

gabrieljenik

2024-08-27 21:34

manager   ~80841

Avoid backward incompatibility with question themes already developed

One thing is not provide support for custom themes... another one is don't consider them :)

Avoid unexpected situations from a structural change in the question theme

This is in relation to the Bootstrap Buttons theme.

I will wait for Carsten to reply back.

gabrieljenik

gabrieljenik

2024-12-05 19:49

manager   ~81588

Last edited: 2024-12-05 19:49

@c_schmitz

DenisChenu

DenisChenu

2024-12-06 07:31

developer   ~81589

Remind : https://www.limesurvey.org/manual/Theme_editor#Global_classes_for_question_part

.answer-item : The answer part: one answer
.question-item : The question part: one question

It can be (and must be) .answer-item .text-item or .answer-item .button-item or .answer-item .myowntype-item

gabrieljenik

gabrieljenik

2024-12-06 19:18

manager   ~81594

I understand that the theme is wrong. I agree.
Still, if we update it and someone has extended the theme, we wouldn´t be helping that person.

Is that ok?

tibor.pacalat

tibor.pacalat

2024-12-20 16:37

administrator   ~81710

This has already been fixed.

Issue History

Date Modified Username Field Change
2024-08-20 18:30 gabrieljenik New Issue
2024-08-20 18:30 gabrieljenik Assigned To => gabrieljenik
2024-08-20 18:30 gabrieljenik Status new => assigned
2024-08-20 22:50 gabrieljenik Status assigned => ready for code review
2024-08-20 22:50 gabrieljenik Note Added: 80786
2024-08-20 22:50 gabrieljenik Bug heat 0 => 2
2024-08-22 17:45 DenisChenu Status ready for code review => in code review
2024-08-22 17:45 DenisChenu Note Added: 80796
2024-08-22 17:45 DenisChenu Bug heat 2 => 4
2024-08-26 17:17 gabrieljenik Note Added: 80829
2024-08-26 19:09 DenisChenu Note Added: 80830
2024-08-26 21:39 gabrieljenik Note Added: 80833
2024-08-27 08:56 DenisChenu Note Added: 80834
2024-08-27 15:08 gabrieljenik Note Added: 80837
2024-08-27 16:57 DenisChenu Note Added: 80838
2024-08-27 19:01 gabrieljenik Note Added: 80839
2024-08-27 21:12 DenisChenu Note Added: 80840
2024-08-27 21:34 gabrieljenik Note Added: 80841
2024-12-05 19:49 gabrieljenik Note Added: 81588
2024-12-05 19:49 gabrieljenik Note Edited: 81588
2024-12-06 07:31 DenisChenu Note Added: 81589
2024-12-06 19:18 gabrieljenik Note Added: 81594
2024-12-20 16:37 tibor.pacalat Status in code review => closed
2024-12-20 16:37 tibor.pacalat Resolution open => won't fix
2024-12-20 16:37 tibor.pacalat Note Added: 81710
2024-12-20 16:37 tibor.pacalat Bug heat 4 => 6