cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27188] New: - CocoonPortlet default-encoding
Date Tue, 24 Feb 2004 14:54:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27188>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27188

CocoonPortlet default-encoding

           Summary: CocoonPortlet default-encoding
           Product: Cocoon 2
           Version: 2.1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: durdina@asset.sk


CocoonPortlet doesn't set Avalon context property CONTEXT_DEFAULT_ENCODING, 
which is required in AbstractTextSerializer. CocoonServlet and CocoonWrapper
(CLI) are doing so.

As a consequence this exception is thrown after trying to serialize HTML event 
stream:
...
Caused by: org.apache.avalon.framework.component.ComponentException: 
serializers: ComponentSelector could not access the Component for hint [html] 
(key [html])
	at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
(ExcaliburComponentSelector.java:264)
	... 103 more
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resolve context key: default-encoding

Mime
View raw message