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=16267>.
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=16267

[RFE] Notifiers should use exception/cause messages

           Summary: [RFE] Notifiers should use exception/cause messages
           Product: Cocoon 2
           Version: 2.0.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


contrived example sitemap snippet:

<map:match pattern="foo/bar(*).html">
  <map:generate src="not-exist({1}).xml"/>
  <map:serialize type="html"/>
</map:match>

so, assuming the xml file doesn't exist accessing foo/bar(1).html should give 
you an error page (if one is displayed at all, see my previous bug report), 
something like the following:

Cocoon 2 - Resource not found

--------------------------------------------------------------------------------

type resource-not-found

message Resource not found

description The requested URI "/test/foo/bar(1).html" was not found.

sender org.apache.cocoon.servlet.ParanoidCocoonServlet

source Cocoon servlet

request-uri

/test/foo/bar(1).html

path-info

test/foo/bar(1).html


a useful error page would include info from the exception, so one wouldn't need 
to look into the logs to see what the real error was. Example:

Cocoon 2 - Resource not found

--------------------------------------------------------------------------------

type resource-not-found

message Resource not found file:/g:/test/not-exist(1).xml

description The requested URI "/test/foo/bar(1).html" was not found.

sender org.apache.cocoon.servlet.ParanoidCocoonServlet

source Cocoon servlet

request-uri

/test/foo/bar(1).html

cause

g:\test\not-exist(1).xml (Das System kann die angegebene Datei nicht finden)

path-info

test/foo/bar(1).html

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

Reply via email to