View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08896Bug reportsTheme editorpublic2014-04-04 10:26
Reporterfvanderstarre Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08896: TEMPLATEJS placeholder not resolved
Description

After upgrading from L.S. 1.92 to 2.05+ progress bar no longer displays. {TEMPLATEJS} placeholder is present in startpage.pstpl (copied some templates from a 2.00+ installation).
I noticed there is no ../scripts/jquery folder in the 2.05 installation files, so I copied this from a 2.00+ installation - that doesn't seem to help.

Steps To Reproduce

Upgrade L.S. from 1.92 to 2.05+
Use template(s) adapted for 2.00+.

Additional Information

startpage.pstpl:
....
<!-- The following CSS hides visual elements of the progress bar from screen readers. -->
<style type="text/css" media="aural tty">
progress-graph .zero, progress-graph .graph, progress-graph .cent { display: none; }
</style>

    {TEMPLATEJS}

...

Page source shows like this:

.....
<!-- The following CSS hides visual elements of the progress bar from screen readers. -->
<style type="text/css" media="aural tty">
progress-graph .zero, progress-graph .graph, progress-graph .cent { display: none; }
</style>

    &lt;script type=&quot;text/javascript&quot; src=&quot;/new/upload/templates/AMC_Template/template.js&quot;>&lt;/script>

<link rel="shortcut icon" href="/new/upload/templates/AMC_Template/favicon.ico" />

</head>

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)2.05+ 140302
I will donate to the project if issue is resolvedNo
BrowserFirefox, IE, Chrome
Database type & versionMS SQL server 2008 10.0.5500.0 (X64)
Server OS (if known)DB server: Windows NT 6.1 <X64> build 7601 SP1. Appl/web server: Linux RHEL 5.8
Webserver software & version (if known)Apache/2.2.3 (Red Hat)
PHP Version5.3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-03-24 12:33

administrator   ~29514

I am sorry but I cannot reproduce this.

If you have problems with your old template and a copy of a 2.05 factory template works just fine the please use the forums for support as this is a problem with your old template.
Alternatively contact one of the Partners at www.limesurvey.com for support.

fvanderstarre

fvanderstarre

2014-03-24 13:43

reporter   ~29517

I used a couple of templates from our test 2.00+ installation to copy the files to our 2.05+ installation. These templates were updated to work with 2.00+ - but they don't in our 2.05+ installation.
Why is {TEMPLATEJS} not resolved? The references to jquery.js etc. are just missing from the html page(s). Even in a copy of the default template from 2.05!
What happened to the ../scripts/jquery folder? Where are those files now (I suppose you still need them....)?
IMHO it's not an "old template" problem.....

fvanderstarre

fvanderstarre

2014-03-26 15:09

reporter   ~29541

I just did a new 2.05 140302 install - made a copy of the default template - progress bar does not show!

fvanderstarre

fvanderstarre

2014-03-26 15:10

reporter   ~29542

See previous note - issue is there in new installation as well.

c_schmitz

c_schmitz

2014-03-26 15:23

administrator   ~29543

I still cannot reproduce it. Works just fine here. Can you reproduce it using our demo?

fvanderstarre

fvanderstarre

2014-03-26 15:35

reporter   ~29544

Yes, same problem! I'll try at home later to see if it has something to do with our network/internet security settings; or javascript maybe? Thx.

c_schmitz

c_schmitz

2014-03-26 15:38

administrator   ~29545

Could be that certain JS is filtered by whatever your company is using.
Please try from home and let me know if you still have the issue.

fvanderstarre

fvanderstarre

2014-03-27 08:21

reporter   ~29550

Even at home the progress bar is not there! Tried with IE9, and Safari on iPad.
Could you tell me which files are supposed to be referenced in {TEMPLATEJS}?

fvanderstarre

fvanderstarre

2014-03-27 09:34

reporter   ~29553

When I turn off "Show: there are X questions in this survey" the progress bar seems OK!

c_schmitz

c_schmitz

2014-03-27 09:38

administrator   ~29554

I just updated the demo to the latest development version. Can you still reproduce it? If yes, which survey ID?

fvanderstarre

fvanderstarre

2014-03-27 09:49

reporter   ~29555

Survey 843461 has progress bar showing.
But yesterday I only looked in the template editor; it still doesn't show up there. Are we looking at two different things maybe?

c_schmitz

c_schmitz

2014-03-27 09:52

administrator   ~29556

Yes, that would have been an important information :-/ . I checked the running survey, not the template editor.

fvanderstarre

fvanderstarre

2014-03-27 10:03

reporter   ~29558

I'm sorry.... Still I had to update the "show x questions" setting to make it work in my test system (survey runtime).

c_schmitz

c_schmitz

2014-03-27 10:11

administrator   ~29560

I am confused. Were you able to reproduce the issue on survey runtime in the demo ?

fvanderstarre

fvanderstarre

2014-03-27 10:33

reporter   ~29563

Demo surveys look OK! Even when I turned on showing "there are X questions".
But now we don't know for sure about the previous version in the Demo system....

c_schmitz

c_schmitz

2014-03-28 15:53

administrator   ~29582

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

c_schmitz

c_schmitz

2014-04-04 10:26

administrator   ~29661

2.05+ Build 140404 released.

Related Changesets

LimeSurvey: 2.06 1f5659d1

2014-03-28 14:53:46

c_schmitz

Details Diff
Fixed issue 08896: JS file inclusion missing in template editor preview of startpage.pstpl Affected Issues
08896
mod - application/controllers/admin/templates.php Diff File

Issue History

Date Modified Username Field Change
2014-03-24 09:25 fvanderstarre New Issue
2014-03-24 12:33 c_schmitz Note Added: 29514
2014-03-24 12:33 c_schmitz Status new => resolved
2014-03-24 12:33 c_schmitz Resolution open => unable to reproduce
2014-03-24 12:33 c_schmitz Assigned To => c_schmitz
2014-03-24 13:43 fvanderstarre Note Added: 29517
2014-03-26 15:09 fvanderstarre Note Added: 29541
2014-03-26 15:10 fvanderstarre Note Added: 29542
2014-03-26 15:10 fvanderstarre Status resolved => feedback
2014-03-26 15:10 fvanderstarre Resolution unable to reproduce => reopened
2014-03-26 15:23 c_schmitz Note Added: 29543
2014-03-26 15:35 fvanderstarre Note Added: 29544
2014-03-26 15:35 fvanderstarre Status feedback => assigned
2014-03-26 15:38 c_schmitz Note Added: 29545
2014-03-26 17:24 c_schmitz Status assigned => feedback
2014-03-27 08:21 fvanderstarre Note Added: 29550
2014-03-27 08:21 fvanderstarre Status feedback => assigned
2014-03-27 09:34 fvanderstarre Note Added: 29553
2014-03-27 09:38 c_schmitz Note Added: 29554
2014-03-27 09:49 fvanderstarre Note Added: 29555
2014-03-27 09:52 c_schmitz Note Added: 29556
2014-03-27 10:03 fvanderstarre Note Added: 29558
2014-03-27 10:11 c_schmitz Note Added: 29560
2014-03-27 10:33 fvanderstarre Note Added: 29563
2014-03-28 15:53 c_schmitz Changeset attached => LimeSurvey 2.06 1f5659d1
2014-03-28 15:53 c_schmitz Note Added: 29582
2014-03-28 15:53 c_schmitz Status assigned => resolved
2014-03-28 15:53 c_schmitz Fixed in Version => 2.05+
2014-03-28 15:53 c_schmitz Resolution reopened => fixed
2014-04-04 10:26 c_schmitz Note Added: 29661
2014-04-04 10:26 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor