detail.php
OW2 Forge: Detail: 301115 Error when trying to display sitemap due to missing xsl

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Byline
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #301115 ] Error when trying to display sitemap due to missing xsl

Date:
2004-12-16 14:30
Priority:
5
Submitted By:
Markus Öhler (digi)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Error when trying to display sitemap due to missing xsl

Detailed description:
When trying to display the Portal Sitemap application, only an error page appears. The catalina log shows ... 2004-12-16 13:28:05 ApplicationDispatcher[] Servlet.service() for servlet legacy-adapter threw exception java.lang.RuntimeException: no path to XSL stylesheet found; try modifying /WEB-INF/resources/stylesheet-paths.txt at com.arsdigita.templating.PatternStylesheetResolver.resolve (PatternStylesheetResolver.java:254)... (much more here ...) The solution is really simple. An "index.xsl" for the portal-sitemap (content see below) should be added at /portalserver/web/__ccm__/apps/portal-sitemap/xsl/ File content: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:include href="../../../../packages/portalserver/xsl/portal-sitemap.xsl"/> </xsl:stylesheet> The upper solution applies to the source tree, if you want to apply it to a running system the file has to be added at (not completely sure about this, what ccm hostinit does exactly i still not understand completely) CCMHOME/webapps/ROOT/__ccm__/apps/portal-sitemap/xsl/ (affects running system) and CCM_ZIP_ROOT\usr\share\java\webapps\ccm-portalserver-version\ROOT\__ccm__\apps\portal-sitemap\xsl\ (to persist the changes and let them survive the next ccm hostinit)

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
index.xsl the missing index.xsl mentioned in the bug description Download

Changes:

Field Old Value Date By
File Added163: index.xsl2004-12-16 14:30digi

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials