View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09857 | Bug reports | Installation | public | 2015-08-31 21:45 | 2015-12-15 13:15 |
Reporter | nwinter | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Summary | 09857: LS drawing some css and js files from tmp/assets/ rather than style/ directory | ||||
Description | After fresh install (or comfortupdate) LS draws several files from the /tmp/assets/ subdirectories rather than the appropriate admin template directory. This means that edits to the adminstyle.css don't take effect, and when the administrative template is changed, the correct adminstyle.css is not used. For example, the top of the source for the default administration page is as follows; note that bootstrap.min.css, bootstrap-yii.css, and adminstyle.css are all being taken from /tmp/assets subdirectories: <!DOCTYPE html> | ||||
Steps To Reproduce | Fresh installation, load admin page, view page source. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 150831 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox (and Chrome) | ||||
Database type & version | 154 | ||||
Server OS (if known) | centOS | ||||
Webserver software & version (if known) | apache 2.4.6 | ||||
PHP Version | 5.4.16 | ||||
I investigated more. I think I understand that some files are supposed to be copied to tmp/assets. There is a hard-coding of the use of adminstyle.css from the gringegreen admin style, even if a different admin template has been selected. See lines 18-19 in the file application/views/admin/super/header.php the original line that copies the adminstyle.css is commented out, and replaced with one that hard-codes gringegreen:
It looks like this change was made with commit f5683e8. It also seems that maybe the other admin templates no longer fully work (if you force their use), for example the darkblue style has problems on the ComfortUpdate check page. |
|
Now, if any change is made to any file from styles/ directory, the asset tmp version is updated. |
|
2.06+ Build 151215 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-31 21:45 | nwinter | New Issue | |
2015-09-11 22:08 | nwinter | Note Added: 33096 | |
2015-09-11 22:17 | nwinter | Note Edited: 33096 | |
2015-09-15 09:35 | sammousa | Assigned To | => LouisGac |
2015-09-15 09:35 | sammousa | Status | new => assigned |
2015-12-09 15:58 |
|
Note Added: 33817 | |
2015-12-09 15:58 |
|
Status | assigned => resolved |
2015-12-09 15:58 |
|
Resolution | open => fixed |
2015-12-15 13:15 | c_schmitz | Note Added: 33938 | |
2015-12-15 13:15 | c_schmitz | Status | resolved => closed |