You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into an issue whereby deployments that don't use the expanded WAR don't compile the .hbs files and simply spit them out in the page as JS files with uncompiled content (breaking the JS).
I have tracked this down to this log line:
ServletContext resource [/console/templates/message.hbs] cannot be resolved to absolute file path - web application archive not expanded?
This fix basically uses a URL for the input resource, rather than a file on the filesystem; one suggestion is that Tomcat may not return a URL for unknown MIME types.
Anyway, I have applied the above patch (albeit quite crudely) to my local copy of the plugin and this has confirmed to work in production with an unexpanded WAR file.
Is this something that could go into the plugin?
Thanks!
Sebastian
The text was updated successfully, but these errors were encountered:
Love the plugin, thanks for the work on it.
I've run into an issue whereby deployments that don't use the expanded WAR don't compile the .hbs files and simply spit them out in the page as JS files with uncompiled content (breaking the JS).
I have tracked this down to this log line:
ServletContext resource [/console/templates/message.hbs] cannot be resolved to absolute file path - web application archive not expanded?
Which then led me to:
paulfairless/grails-lesscss-resources#8
This fix basically uses a URL for the input resource, rather than a file on the filesystem; one suggestion is that Tomcat may not return a URL for unknown MIME types.
Anyway, I have applied the above patch (albeit quite crudely) to my local copy of the plugin and this has confirmed to work in production with an unexpanded WAR file.
Is this something that could go into the plugin?
Thanks!
Sebastian
The text was updated successfully, but these errors were encountered: