No error processing on DB operations
Forum » WikiPBX / General » No error processing on DB operations
Started by: leddaledda
On: 1276698910|%e %b %Y, %H:%M %Z|agohover
Number of posts: 2
rss icon RSS: New posts
Summary:
Error processing on DB operations
No error processing on DB operations
leddaledda 1276698910|%e %b %Y, %H:%M %Z|agohover

I'm checking wikipbxweb/views.py and there is no error checking on any DB operations.
It's always assumed that creation, deletion, saving… passed fine.
Unfortunately, in real life it is not, and customer is getting Django debug output or apache internal error page.

Is there any plans to adjust this?

Reply  |  Options
Unfold No error processing on DB operations by leddaledda, 1276698910|%e %b %Y, %H:%M %Z|agohover
Re: No error processing on DB operations
stas_shtinstas_shtin 1276712128|%e %b %Y, %H:%M %Z|agohover

Django 1.2 supports model validation that handles duplicate field errors among other things. Wikipbx version that supports recent django is not production ready yet. So the only way to make sure there's no DB error for current version is to work on this yourself.

Reply  |  Options
Unfold Re: No error processing on DB operations by stas_shtinstas_shtin, 1276712128|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License