[Digikam-devel] [Bug 233549] [database] Stuck at saving new image

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Apr 15 21:23:54 BST 2010


https://bugs.kde.org/show_bug.cgi?id=233549





--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-04-15 22:23:29 ---
SVN commit 1115276 by mwiesweg:

The DatabaseErrorHandler is a great mechanism to give feedback to the user,
mostly in the case of a MySQL connection error.
It now came to be used a bit too often - for every db error that came along,
and in that case, disabling all subsequent db actions.

Move error classification to the backend. Use the error handler for connection
errors only, the code to display a message box is currently unused.
Tolerate the occasional SQL error (which should be debugged, but not impair
user experience).

Hope this fixes the problem. Johannes, can you test with your established
testcase?

CCBUG: 233549

 M  +15 -17    digikam/databaseguierrorhandler.cpp  
 M  +2 -1      digikam/databaseguierrorhandler.h  
 M  +37 -11    libs/database/databasecorebackend.cpp  
 M  +5 -3      libs/database/databasecorebackend_p.h  
 M  +13 -2     libs/database/databaseerrorhandler.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1115276

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list