ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | byline-commits List | December 2004 Index

<--  Date Index     <--  Thread Index    

[ byline-Bugs-301147 ] Permission Application doesn't work out of the box + fix


Bugs item #301147, was opened at 2004-12-29 13:37
You can respond by visiting: 
http://forge.objectweb.org/tracker/?func=detail&atid=350155&aid=301147&group_id=143

Category: Interface (example)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Öhler (digi)
Assigned to: Nobody (None)
Summary: Permission Application doesn't work out of the box + fix

Initial Comment:
After an standard WAF installation the permission application (located at
/ccm/permissions does not work. The error message in the tomcat log files is 

StandardWrapperValve[ccm-dispatcher]: Servlet.service() for servlet
ccm-dispatcher 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)


To get the application working you have to perform two steps (because there 
are
two errors)

ERROR 1 + FIX:
--------------

The index.xsl file for the permission application is in a folder with a wrong
name. The folder /web/__ccm__/apps/permissions has to be renamed to
acs-permissions. (You can easily verify this by enabling the Logger vor the
PatternStyleSheetResolver class)

ERROR 2 + FIX:
--------------

The second error is an missing parameter in the permissions.xsl file. 
Inserting
  <xsl:param name="contextPath"/> after the xsl:import statements solves the
problem. 

----------------------------------------------------------------------

You can respond by visiting: 
http://forge.objectweb.org/tracker/?func=detail&atid=350155&aid=301147&group_id=143



<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.