DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42567

           Summary: PNG, JPG, CSS nodes not accessible from site tree in
                    site tab
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Site Management
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


How to replicate: Upload a png, jpg, or css file (gif and bmp might cause
problems too). Click on the site tab. Select a different node. Select the node
you just uploaded. An exception will happen.

The first time you go to the site tab, you are viewing nodename.html. Any
further attempts put you at nodename.extension. This is where the problem comes
in. The displayed exception is stating that the usecase coming back is
undefined. Digging in log4j.log I see the real reason:

Caused by: org.apache.lenya.ac.AccessControlException: Request
[EMAIL PROTECTED] does not contain roles: 
    URI: [/default/authoring/tutorial/JPG.jpg]
    Parameter: [lenya.usecase] = [tab.overview]

        at org.apache.lenya.cms.ac.PolicyUtil.getRoles(PolicyUtil.java:65)
        at
org.apache.lenya.cms.usecase.gui.impl.GUIManagerImpl.contextualize(GUIManagerImpl.java:262)
        ... 96 more


I don't know why there are no roles. In fact, trying to view the page without
logging in generates the same error.

Someone else is going to need to look at this one.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to