You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/11/21 16:56:26 UTC
DO NOT REPLY [Bug 43926] New: - Searching throws errors in logs
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=43926>.
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=43926
Summary: Searching throws errors in logs
Product: Lenya
Version: Trunk
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Lucene Integration
AssignedTo: dev@lenya.apache.org
ReportedBy: rfrovarp@apache.org
When doing a search several exceptions are logged. The search works fine, but we
shouldn't be cluttering up the logs. The most likely cause is that the doctype
isn't set.
Caused by: org.apache.lenya.ac.AccessControlException: Request
[org.apache.cocoon.environment.wrapper.RequestWrapper@19f6e39] does not contain
roles:
URI: [/default/authoring/css/usecase.css]
Parameter: [doctype] = []
at org.apache.lenya.cms.ac.PolicyUtil.getRoles(PolicyUtil.java:64)
at
org.apache.lenya.cms.cocoon.transformation.UsecaseMenuTransformer.setup(UsecaseMenuTransformer.java:245)
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43926] - Missing css files throw errors in logs
Posted by bu...@apache.org.
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=43926>.
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=43926
rfrovarp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Searching throws errors in |Missing css files throw
|logs |errors in logs
------- Additional Comments From rfrovarp@apache.org 2007-11-21 08:50 -------
It happens with resource.css and a kupu css file that isn't being referenced
properly. So it is further ranging than just searching.
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43926] - Searching throws errors in logs
Posted by bu...@apache.org.
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=43926>.
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=43926
------- Additional Comments From andreas@apache.org 2007-11-21 08:45 -------
The BypassableAccessController sets up the roles properly now, but this makes
the bypassed requests more expensive. There are two options to improve this:
a) PolicyUtil.getRoles(Request) doesn't throw an exception if the roles are not
set (would probably be the most robust solution, but bugs might be harder to find)
b) BypassableAccessController attaches an empty role list to the request
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43926] - Searching throws errors in logs
Posted by bu...@apache.org.
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=43926>.
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=43926
------- Additional Comments From andreas@apache.org 2007-11-21 08:21 -------
I guess the reason is that the resource-type specific CSS "usecase.css" doesn't
exist. This request should just return a 404 instead of throwing exceptions. But
since the resource sitemaps don't find it, it is treated as a document.
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43926] - Missing css files throw errors in logs
Posted by bu...@apache.org.
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=43926>.
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=43926
------- Additional Comments From rfrovarp@apache.org 2007-11-21 08:55 -------
(In reply to comment #3)
>
> b) BypassableAccessController attaches an empty role list to the request
This makes sense to me.
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43926] - Searching throws errors in logs
Posted by bu...@apache.org.
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=43926>.
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=43926
------- Additional Comments From andreas@apache.org 2007-11-21 08:28 -------
I guess the access controller doesn't attach the roles to the request because
the .css URLs are bypassable:
<public-extensions>css,jpg,gif,png,rng,xsl</public-extensions>
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org