Red Hat Bugzilla – Bug 108173
XSL templates are not checked for updates
Last modified: 2007-04-18 12:58:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314
Description of problem:
Since the PatternStylesheetResolver is currently generating URLs with a URL of
http://, the XSLTemplate class is unable to check for file modifications on XSLT
templates. For URLs mapping to the c.a.web.ResourceServlet, it is possible to
translate the http:// URL into a file:// URL for the purposes of checking for
updates. As part of this change, the PatternStylesheetResolver should be updated
to move the URL protocol definition out of the Java & into the
'stylesheet-paths.txt' file allowing the developer the choice for configuration.
NB, http:// urls are required in order to allow relative links to the content
type XSL servlet.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. View a page
2. Change the XSL & redeploy
3. View the page again
Actual Results: XSL changes are not visible
Expected Results: XSL changes are visible
This change is already present in my checkout, but I am unable to commit to 'dev'.
Fixed in p4 37488