Bug 108173

Summary: XSL templates are not checked for updates
Product: [Retired] Red Hat Web Application Framework Reporter: Daniel Berrangé <berrange>
Component: otherAssignee: Daniel Berrangé <berrange>
Status: CLOSED RAWHIDE QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: nightly   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-13 22:22:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 106597    

Description Daniel Berrangé 2003-10-28 11:14:54 UTC
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):


How reproducible:
Always

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

Additional info:

This change is already present in my checkout, but I am unable to commit to 'dev'.

Comment 1 Daniel Berrangé 2003-10-29 17:08:18 UTC
Fixed in p4 37488