Bug 78 (no_db_fail) - The application is totally failing without database
Summary: The application is totally failing without database
Status: RESOLVED FIXED
Alias: no_db_fail
Product: SlackPack
Classification: Web
Component: Core (Perl modules) (show other bugs)
Version: cvs
Hardware: PC Linux
: High (P2) major with 1 vote (vote)
Target Milestone: 0.4
Deadline: 2009-06-01
Assignee: Georgi D. Sotirov
QA Contact: Administrator
URL: http://sotirov-bg.net/slackpack/
Whiteboard:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2007-12-07 13:36 EET by Administrator
Modified: 2009-05-31 13:28 EEST (History)
1 user (show)

See Also:
My Bug ID:
My description:
My date:
My choice:
My selection: ---
gdsotirov: blocking-sp-0.4+


Attachments
Modifications required to catch db errors (11.30 KB, patch)
2009-05-31 11:59 EEST, Georgi D. Sotirov
root: apply+
Details | Diff
Final modifications for this bug (13.11 KB, patch)
2009-05-31 13:17 EEST, Georgi D. Sotirov
root: apply+
root: apply+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Administrator admin 2007-12-07 13:36:39 EET
Currently when there is no database (server is down) the application is totally filing, which is confusing for the users. Instead the application should gracefully show an error message reporting that temporarily the database is not available.
Comment 1 Georgi D. Sotirov 2009-04-03 09:15:34 EEST
Change syntax error in the short description (filing => failing) :-)
Comment 2 Georgi D. Sotirov 2009-05-30 21:39:04 EEST
This bug must be fixed for SlackPack 0.4
Comment 3 Georgi D. Sotirov 2009-05-31 11:59:26 EEST
Created attachment 91 [details]
Modifications required to catch db errors

This patch adds the necessary modifications to allow catching of database error. Actually this is just the beginning of the error system improvement
Comment 4 Georgi D. Sotirov 2009-05-31 13:17:55 EEST
Created attachment 92 [details]
Final modifications for this bug

This patch includes modifications to the error reporting system - the table 'errors', the class SlackPack:Error and the programs which invoke error reporting functions. The real fix for the bug is in SlackPack::DB class
Comment 5 Administrator admin 2009-05-31 13:19:20 EEST
Comment on attachment 92 [details]
Final modifications for this bug

Modifications are OK
Comment 6 Georgi D. Sotirov 2009-05-31 13:28:00 EEST
Patch applied into trunk. Defect fixed. Time to branch slackpack-0.4?


bug/show.html.tmpl processed on May 19, 2024 at 03:45:50.
(provided by the Example extension).