View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08441Bug reportsSurvey takingpublic2016-01-22 08:53
ReporterDenisChenu Assigned Tomdekker  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.50.xFixed in Version2.06+ 
Summary08441: Print answers and regsiter page don't have any script or CSS files
Description

If you set a survey with print answers to true : the user see the page but without any color or decoration.

Steps To Reproduce

Set a survey to print answers YES, go to survey and click the link : print your answers

Additional Information

Startpage is read, the App()->clientScript->registerScript and Yii::app()->getClientScript()->registerCssFile is done. But the last part from Yii is not done (Add the script and the css to the page).

Think (but don't test) it's the same with other class extends LSYii_Controller

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)131210
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 08769 closedc_schmitz Optout and Optin controller include admin part 
related to 09205 closedLouisGac Optout (and optin) page produce js error (no jquery inside) 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-12-10 21:26

developer   ~27545

Sammousa : can you take it ?
Think we have to use render somewhere, but before the template/endpage ? Adding dofooter don't fix the issue.

mdekker

mdekker

2013-12-13 09:55

reporter   ~27560

I will commit a quick fix, but I think sammousa can better fix it. Since the problem will surface in more areas. All due to incorrect view rendering.

(Got the fix from the controllers/survey/index.php)

mdekker

mdekker

2013-12-13 09:57

reporter   ~27561

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

mdekker

mdekker

2013-12-17 10:43

reporter   ~27577

Sam, can you have a look for a more general fix?

DenisChenu

DenisChenu

2013-12-19 17:37

developer   ~27666

Same fix applie for register (the thanks page).

Thanks Menno

Related Changesets

LimeSurvey: master d42c3ee9

2013-12-13 08:56:51

mdekker

Details Diff
Partial fix 08441: Print answers son't have any script or CSS files
dev: should be handled better, just a quickfix inspired by the survey index action
Affected Issues
08441
mod - application/controllers/PrintanswersController.php Diff File

Issue History

Date Modified Username Field Change
2013-12-10 21:22 DenisChenu New Issue
2013-12-10 21:22 DenisChenu File Added: Capture du 2013-12-10 21:18:59.png
2013-12-10 21:23 DenisChenu Issue Monitored: sammousa
2013-12-10 21:26 DenisChenu Note Added: 27545
2013-12-13 09:55 mdekker Note Added: 27560
2013-12-13 09:57 mdekker Changeset attached => LimeSurvey master d42c3ee9
2013-12-13 09:57 mdekker Note Added: 27561
2013-12-13 09:57 mdekker Assigned To => mdekker
2013-12-13 09:57 mdekker Resolution open => fixed
2013-12-16 11:20 c_schmitz Status new => assigned
2013-12-17 10:43 mdekker Assigned To mdekker => sammousa
2013-12-17 10:43 mdekker Note Added: 27577
2013-12-19 17:37 DenisChenu Note Added: 27666
2014-01-03 11:14 DenisChenu Summary Print answers son't have any script or CSS files => Print answers and regsiter page don't have any script or CSS files
2014-01-28 10:46 sammousa Target Version => 2.5
2014-02-25 20:10 DenisChenu Relationship added related to 08769
2014-09-03 12:01 DenisChenu Relationship added related to 09205
2016-01-20 11:00 sammousa Assigned To sammousa =>
2016-01-21 09:09 DenisChenu Status assigned => resolved
2016-01-21 09:09 DenisChenu Fixed in Version => 2.06+
2016-01-21 09:09 DenisChenu Assigned To => mdekker
2016-01-22 08:53 c_schmitz Status resolved => closed