View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
12889Bug reportsSurvey editingpublic2018-01-15 10:39
Reporterollehar Assigned Tomarkusfluer 
PrioritynoneSeveritycrash 
Status closedResolutionreopened 
Product Version3.0.0-rc.x 
Target Version3.0.xFixed in Version3.0.0-rc.x 
Summary12889: Mandatory switch and other switches do not work in question edit
Description

Title.

Blocking bug since I can't test mandatory questions.

Steps To Reproduce
  1. Create question
  2. Can't switch mandatory on/off
TagsNo tags attached.
Attached Files
Selection_339.png (21,624 bytes)   
Selection_339.png (21,624 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)latest dev
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2017-11-13 16:20

administrator   ~45055

Hm, even running "$('[data-is-bootstrap-switch]').bootstrapSwitch();" manually in the console does not fix it. Strange.

ollehar

ollehar

2017-11-13 16:32

administrator   ~45056

If I throw an exception at the end of the ready function in admin_core, the switches work (although it halts loading of other settings etc).

markusfluer

markusfluer

2017-11-13 16:32

administrator   ~45057

Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=24804

ollehar

ollehar

2017-11-14 10:15

administrator   ~45060

Not resolved, see new picture.

markusfluer

markusfluer

2017-11-14 11:47

administrator   ~45062

Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=24812

c_schmitz

c_schmitz

2018-01-15 10:39

administrator   ~45745

Version 3.0.3 released.

Related Changesets

LimeSurvey: develop 058df63c

2017-11-13 16:31:44

markusfluer

Details Diff
Fixed issue 12889: Mandatory switch and other switches do not work in question edit Affected Issues
12889
mod - application/config/packages.php Diff File
mod - application/config/third_party.php Diff File
mod - application/extensions/yiiwheels/widgets/switch/WhSwitch.php Diff File
mod - application/models/AdminTheme.php Diff File
mod - assets/packages/adminbasics/js/admin_core.js Diff File
rm - assets/scripts/admin/admin_core.js Diff File

LimeSurvey: develop 57f003dd

2017-11-14 11:46:22

markusfluer

Details Diff
Fixed issue 12889: Mandatory switch and other switches do not work in question edit Affected Issues
12889
mod - assets/scripts/admin/questions.js Diff File

Issue History

Date Modified Username Field Change
2017-11-10 12:42 ollehar New Issue
2017-11-10 16:58 LouisGac Assigned To => markusfluer
2017-11-10 16:58 LouisGac Status new => assigned
2017-11-13 16:20 ollehar Note Added: 45055
2017-11-13 16:32 ollehar Note Added: 45056
2017-11-13 16:32 markusfluer Changeset attached => LimeSurvey develop 058df63c
2017-11-13 16:32 markusfluer Note Added: 45057
2017-11-13 16:32 markusfluer Resolution open => fixed
2017-11-13 16:43 markusfluer Status assigned => resolved
2017-11-13 16:43 markusfluer Fixed in Version => 3.0.0-rc.x
2017-11-14 10:14 ollehar Status resolved => new
2017-11-14 10:14 ollehar Resolution fixed => reopened
2017-11-14 10:15 ollehar Note Added: 45060
2017-11-14 10:15 ollehar File Added: Selection_339.png
2017-11-14 11:47 markusfluer Changeset attached => LimeSurvey develop 57f003dd
2017-11-14 11:47 markusfluer Note Added: 45062
2017-11-14 11:47 markusfluer Status new => resolved
2018-01-15 10:39 c_schmitz Note Added: 45745
2018-01-15 10:39 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing