View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06652Bug reportsOtherpublic2012-10-05 15:26
Reporterdholeman Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06652: Typo in replacement_helper.php causes malformed path statement
Description

Output from lines 130 and 134 in ./application/helpers/replacements_helper.php insert an extra forward slash (/) in the path statements for their respective specified css files.

For instance this is the affected header output for

http://rosebreeders.org/survey_200/index.php/survey/index/sid/882777/lang/en

<link rel='stylesheet' type='text/css' media='all' href='/survey_200/templates/default//jquery-ui-custom.css' />

Line 130

$template_jqueryui_css= "<link rel='stylesheet' type='text/css' media='all' href='{$templateurl}/jquery-ui-custom.css' />\n";

Change to:

$template_jqueryui_css= "<link rel='stylesheet' type='text/css' media='all' href='{$templateurl}jquery-ui-custom.css' />\n";

Line 134

$template_jqueryui_css= "<link rel='stylesheet' type='text/css' media='all' href='{$templateurl}/jquery-ui.css' />\n";

Change to:

$template_jqueryui_css= "<link rel='stylesheet' type='text/css' media='all' href='{$templateurl}jquery-ui.css' />\n";

Steps To Reproduce

Check header in page source for

http://rosebreeders.org/survey_200/index.php/survey/index/sid/882777/lang/en

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121001
I will donate to the project if issue is resolvedNo
Browserff
Database type & versionna
Server OS (if known)na
Webserver software & version (if known)NA
PHP Versionna

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-10-05 08:55

administrator   ~21042

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

c_schmitz

c_schmitz

2012-10-05 08:55

administrator   ~21043

Thank you very much!

c_schmitz

c_schmitz

2012-10-05 15:26

administrator   ~21075

New version 2.00+ build 121005 released.

Related Changesets

LimeSurvey: master a6f38030

2012-10-05 01:55

c_schmitz


Details Diff
Fixed issue 06652: Additional slahs in template paths in page header Affected Issues
06652
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-10-03 18:38 c_schmitz Changeset attached => LimeSurvey master 670f3524
2012-10-05 07:15 dholeman New Issue
2012-10-05 08:50 c_schmitz Changeset attached => LimeSurvey master e78908f6
2012-10-05 08:50 c_schmitz Assigned To => c_schmitz
2012-10-05 08:50 c_schmitz Resolution open => fixed
2012-10-05 08:54 c_schmitz Assigned To c_schmitz =>
2012-10-05 08:54 c_schmitz Assigned To => c_schmitz
2012-10-05 08:54 c_schmitz Status new => assigned
2012-10-05 08:54 c_schmitz Changeset removed LimeSurvey master 670f3524 =>
2012-10-05 08:55 c_schmitz Changeset attached => LimeSurvey master a6f38030
2012-10-05 08:55 c_schmitz Note Added: 21042
2012-10-05 08:55 c_schmitz Note Added: 21043
2012-10-05 08:55 c_schmitz Status assigned => resolved
2012-10-05 08:55 c_schmitz Fixed in Version => 2.00+
2012-10-05 08:56 c_schmitz Changeset removed LimeSurvey master e78908f6 =>
2012-10-05 15:26 c_schmitz Note Added: 21075
2012-10-05 15:26 c_schmitz Status resolved => closed