Javascript resource is parsed as a freemarker template when Bypass = true 
--------------------------------------------------------------------------

                 Key: MGNLSTK-799
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-799
             Project: Magnolia Standard Templating Kit
          Issue Type: Bug
    Affects Versions: 1.4.4
         Environment: Ubuntu 10.10, Oracle 10 XE, Jetty, Sun Java 1.6
            Reporter: Per Andersson
            Assignee: Philipp Bärfuss
         Attachments: exception.txt, Form.js

I've added a javascript resource file into the STK / Resources JCR tree (see 
attachment). It has the properties:
Name = Form
Resource type = Javascript
Bypass = true
Extension = js
Model class = <empty>

When I try to access the resource using this URL it throws a Freemarker 
exception (see attachment):
http://localhost:8080/resources/xxx-magnolia-components/dojo/1-6-1/dijit/form/Form.js

If Bypass = false then it returns the javascript file without trying to parse 
it using freemarker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to