View Issue Details

IDProjectCategoryView StatusLast Update
12977Bug reports[All Projects] Survey takingpublic2017-11-29 17:06
ReporterolleAssigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version3.0.0-rc.x 
Target Version3.xFixed in Version 
Summary12977: The image poweredby.png creates asset folder, making fruity package not being published
DescriptionAs title.

Check this line in Yii core: https://github.com/LimeSurvey/LimeSurvey/blob/master/framework/web/CAssetManager.php#L244

If the folder already exists, the package will not be copied. For some reason, and only in the travis docker image, the file poweredby.png published the package once, leading to Yii NOT copying/publishing the other files.
Steps To ReproduceStart up docker etc. Ask Olle for details, or see this file:

https://github.com/LimeSurvey/LimeSurvey/blob/develop/tests/data/travis/travis_setup.sh
TagsNo tags attached.
Complete LimeSurvey version number (& build)latest dev
I will donate to the project if issue is resolvedNo
Browser-
Database & DB-Version-
Operating System (Server)-
Webserver software & version-
PHP Version-

Activities

olle

olle

2017-11-29 16:54

administrator   ~45202

Changing

                    {{ image("poweredby.png", "LimeSurvey Survey Software") }}

to

                    {{ image("./files/poweredby.png", "LimeSurvey Survey Software") }}

resolves this bug.
olle

olle

2017-11-29 17:01

administrator   ~45203

To be clear, the bug appears when the following happens:

1. poweredby.png is in theme root
2. Twig layout include image("poweredby.png", "LimeSurvey Survey Software") }}
3. This leads to the package being "pre-published"
4. The ACTUAL package is never published since the folder ALREADY exists (the Twig line above triggers the publishing of the package, for some reason, but if the image is put in files/, it does not trigger this).

Related Changesets

LimeSurvey: develop 87d517f5

2017-11-29 17:06:02

olle

Details Diff
Dev: Move powerby.png to files/ folder (see bug 12977)
mod - themes/survey/fruity/views/layout_survey_list.twig Diff File

Issue History

Date Modified Username Field Change
2017-11-29 16:47 olle New Issue
2017-11-29 16:54 olle Note Added: 45202
2017-11-29 17:01 olle Note Added: 45203
2017-11-29 17:06 olle Changeset attached => LimeSurvey develop 87d517f5