On Mon, 19 Dec 2011 10:19:15 +0100 Ingeborg Hellemo ingeborg.hellemo@uit.no wrote:
NAV 3.9.4
When editing filters and other items in Alert profiles we get several error messages, but the things we are trying to do is indeed saved. Is this a NAV issue or our version of Django?
One of the two, I'll have to check the NAV code, so please report this bug at https://bugs.launchpad.net/nav/+filebug .
Also, if you enable DJANGO_DEBUG in nav.conf, you should expect your error messages to be "ugly and confusing", because that's what you asked for. That confusing DEBUG dump also happens to be what we developers need to track down the problem in the code.
Disable DJANGO_DEBUG if you want a simple, not-at-all-helpful "something went wrong" error message displayed on the web page. The NAV site administrator may still get mailed the full traceback data, and they will typically also be logged in your Apache error log.