You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/11/12 22:27:15 UTC
DO NOT REPLY [Bug 32213] New: -
Error handling and subsitemaps - errors not handled in subsitemap in special cases
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=32213>.
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=32213
Error handling and subsitemaps - errors not handled in subsitemap in special cases
Summary: Error handling and subsitemaps - errors not handled in
subsitemap in special cases
Product: Cocoon 2
Version: Current SVN 2.1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: core
AssignedTo: dev@cocoon.apache.org
ReportedBy: greg212@poczta.onet.pl
Consider this code:
=====================
root sitemap:
<map:match pattern="*/**">
<map:mount uri-prefix="{1}" check-reload="yes" src="{1}/sitemap.xmap"
reload-method="synchron"/>
</map:match>
<map:match pattern="*/**.html">
[...]
<map:aggregate element="site">
<map:part src="cocoon:/{1}/{2}"/>
[...]
</map:aggregate>
[...]
</map:match>
=====================
subsitemap :
<map:pipeline>
<map:match pattern="sth">
[...]
</map:match>
<map:handle-errors>
[...]
</map:handle-errors>
</map:pipeline>
Now, lets try this URL: "subsite/sth.html"; "sth" pipeline throws
exception but it will never reach handle-errors block in subsitemap.
It's handled by root sitemap exception handler.
I check it out even with no exception selector.
Well, I'm sure that's becouse of "*/**.html" pipeline is first matched;
It looks like busting error handlig conception - subsitemap specific errors
shouldn't be handled in root sm.