View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
10939Bug reportsTheme editorpublic2016-04-25 13:54
Reporterakeyser Assigned ToLouisGac 
PriorityurgentSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary10939: Public Survey List (root of app) includes a different set of CSS files from the Survey itself, and in the wrong order
Description

When loading the public survey list page, accessible by the root of the application, I noticed that my templates were behaving differently. I looked into the issue and found that bootstrap.min.css and yiistrap.min.css were being loaded by {TEMPLATECSS} AFTER the CSS files that the template provides, overriding their css selectors with default Bootstrap and Yiistrap things — but only on the Survey List page. In the various survey taking pages, they were not loaded by {TEMPLATECSS} at all.

Steps To Reproduce

Create a public survey.
Browse to the root of the application.
Inspect the source of the provided page.

Open the survey in a new tab, as if you were about to begin the survey.
Inspect the source of this page.

Compare the source side-by-side. Note the presence of these two lines, AFTER the template-specific files, but only on the Public Survey List:

<link rel="stylesheet" type="text/css" href="/limesurvey/tmp/assets/27f1133d/css/bootstrap.min.css" media="screen">
<link rel="stylesheet" type="text/css" href="/limesurvey/tmp/assets/fd3dac07/css/yiistrap.min.css" media="screen">

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)160414
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome 49
Database type & versionMySQL 5.6.27-log
Server OS (if known)Windows Server 2008 R2
Webserver software & version (if known)IIS 7.5
PHP Version5.6.14

Users monitoring this issue

akeyser

Activities

akeyser

akeyser

2016-04-13 17:37

reporter   ~37351

NOTE: I just discovered that this also applies to the Template Editor itself; it includes bootstrap-for-template-editor AFTER the template-provided CSS, overriding the template.

LouisGac

LouisGac

2016-04-22 12:02

developer   ~37680

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

c_schmitz

c_schmitz

2016-04-25 13:54

administrator   ~37778

Version 2.50+ Build 160425 released

Related Changesets

LimeSurvey: master 88924013

2016-04-22 10:01:23

LouisGac

Details Diff
Fixed issue 10939: Public Survey List (root of app) includes a different set of CSS files from the Survey itself, and in the wrong order Affected Issues
10939
mod - application/controllers/SurveysController.php Diff File

Issue History

Date Modified Username Field Change
2016-04-13 17:11 akeyser New Issue
2016-04-13 17:37 akeyser Note Added: 37351
2016-04-14 21:58 akeyser Issue Monitored: akeyser
2016-04-19 09:51 c_schmitz Priority none => urgent
2016-04-21 16:00 c_schmitz Assigned To => c_schmitz
2016-04-21 16:00 c_schmitz Status new => assigned
2016-04-21 16:00 c_schmitz Sticky Issue No => Yes
2016-04-21 16:39 c_schmitz Assigned To c_schmitz => LouisGac
2016-04-21 16:39 c_schmitz Sticky Issue Yes => No
2016-04-22 12:02 LouisGac Changeset attached => LimeSurvey master 88924013
2016-04-22 12:02 LouisGac Note Added: 37680
2016-04-22 12:02 LouisGac Resolution open => fixed
2016-04-22 17:25 LouisGac Status assigned => resolved
2016-04-25 13:54 c_schmitz Note Added: 37778
2016-04-25 13:54 c_schmitz Status resolved => closed
2021-08-07 14:38 guest Bug heat 6 => 8