View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000059 | WolfAdmin | Setup & Configuration | public | 2016-07-28 20:30 | 2019-01-01 21:08 |
Reporter | Timo | Assigned To | Timo | ||
Priority | high | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | 1.1.0 | Fixed in Version | 1.1.0 | ||
Summary | 0000059: Handle database errors | ||||
Description | Display a warning and abort/use a minimal system (without the database). Anyway, the current situation is undesired: the module still runs and the game mod itself throws an error, while database functions are still executed. | ||||
Steps To Reproduce | * luasql not being detected * wolfadmin.db corrupt * wolfadmin.db not writable * mysql database not reachable | ||||
Tags | No tags attached. | ||||
Mod | N/A | ||||
Mod version | |||||
Standalone | no | ||||
WolfAdmin: master bb67eb3f 2016-08-07 20:55 Details Diff |
Removed cfg system and added checks for database availability/connectivity (issue 0000059) |
Affected Issues 0000059 |
|
mod - luascripts/admin/admin.lua | Diff File | ||
mod - luascripts/commands/admin/dewarn.lua | Diff File | ||
mod - luascripts/commands/admin/listaliases.lua | Diff File | ||
mod - luascripts/commands/admin/listlevels.lua | Diff File | ||
mod - luascripts/commands/admin/resetsprees.lua | Diff File | ||
mod - luascripts/commands/admin/setlevel.lua | Diff File | ||
mod - luascripts/commands/admin/showwarns.lua | Diff File | ||
mod - luascripts/commands/admin/sprees.lua | Diff File | ||
mod - luascripts/commands/admin/warn.lua | Diff File | ||
rm - luascripts/db/cfg.lua | Diff File | ||
mod - luascripts/db/mysql.lua | Diff File | ||
mod - luascripts/db/sqlite3.lua | Diff File | ||
mod - luascripts/game/sprees.lua | Diff File | ||
WolfAdmin: develop/1.2.0 98d4a30b 2019-01-01 22:12 Details Diff |
Fixed Lua game init completely being interrupted when database is unavailable (refs 0000059) * database module will throw debug messages when it cannot connect or read * ACL module will enter 'dumb' mode and disallow any permissions (should be changed in future) |
Affected Issues 0000059 |
|
mod - luamods/wolfadmin/auth/auth.lua | Diff File | ||
mod - luamods/wolfadmin/commands/server/acl.lua | Diff File | ||
mod - luamods/wolfadmin/db/db.lua | Diff File | ||
mod - luamods/wolfadmin/db/mysql.lua | Diff File | ||
mod - luamods/wolfadmin/db/sqlite3.lua | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-28 20:30 | Timo | New Issue | |
2016-07-28 20:30 | Timo | Status | new => assigned |
2016-07-28 20:30 | Timo | Assigned To | => Timo |
2016-08-04 19:32 | Timo | Category | Database => Setup & Configuration |
2016-08-05 22:33 | Timo | Summary | Act appropriately in case LuaSQL is not detected => Handle database errors |
2016-08-05 22:33 | Timo | Steps to Reproduce Updated | |
2016-08-07 18:56 | Timo | Note Added: 0000077 | |
2016-08-07 18:56 | Timo | Status | assigned => resolved |
2016-08-07 18:56 | Timo | Fixed in Version | => 1.1.0 |
2016-08-07 18:56 | Timo | Resolution | open => fixed |
2019-01-01 21:08 | Timo | Changeset attached | => WolfAdmin develop/1.2.0 98d4a30b |