detail.php
OW2 Forge: Detail: 301147 Permission Application doesn't work out of the box + fix

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

[ #301147 ] Permission Application doesn't work out of the box + fix

Date:
2004-12-29 14:37
Priority:
5
Submitted By:
Markus Öhler (digi)
Assigned To:
Nobody (None)
Category:
Interface (example)
State:
Open
Summary:
Permission Application doesn't work out of the box + fix

Detailed description:
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.

Add A Comment:

Please login

Followup

Message
Date: 2005-01-04 13:15
Sender: digi
Logged In: YES 
user_id=4566

I looked into it and found the problem in the CoreLoader
class. The CoreLoader.diff should fixt the class so that the
acs-permissions application is renamed to permissions.
Date: 2005-01-03 15:08
Sender: richardl
Logged In: YES 
user_id=2867

For the first error, do you know where the acs-permissions
reference actually is created? The acs- prefix is/was being
phased out.

Attached Files:

Name Description Download
permissions.diff I don't think that the file rename appears correctly in this patch. Be careful! Download
CoreLoader.diff renames acs-permissions to permissions Download
permissions.xsl new version Download

Changes:

Field Old Value Date By
File Added177: CoreLoader.diff2005-01-04 13:15digi
File Added176: permissions.xsl2004-12-29 14:42digi
File Added175: permissions.diff2004-12-29 14:37digi

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