Ticket #60 (closed enhancement: released)
[SVN] Godmode template error handling
| Reported by: | richard | Owned by: | olly |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Omega | Version: | SVN trunk |
| Severity: | minor | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
Using the omega CGI with the godmode template produces a "500 Internal Server Error" response if asked to display a document ID which doesn't exist. While not in any way critical, this is unpleasant - a nicer response would be to display an error message, and a form to allow a different document ID to be entered.
Running omega on the command line with equivalent parameters (empty is an empty database) produces the following:
====BEGIN==== $ /usr/lib/cgi-bin/omega/omega omega - omega 0.8.4 (compiled Dec 10 2004 11:13:56) Enter NAME=VALUE lines, end with blank line ID=1 FMT=godmode DB=default
Exception: Can't read termlist for document 1: Not found ====END====
