Bug 108173 - XSL templates are not checked for updates
Summary: XSL templates are not checked for updates
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 106597
TreeView+ depends on / blocked
 
Reported: 2003-10-28 11:14 UTC by Daniel Berrangé
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-11-13 22:22:20 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.