Ticket #1256 (closed defect: fixed)
admin's database update does not stop if there is an update failure
|Reported by:||anonymous||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC5|
|Component:||Frontend (GUI)||Version:||ispCP ω 1.0.0 - RC4|
Currently the database update (ispcp/gui/include/database-update-functions.php) loops each available update-function and does not stop if there is a error. This rusults in an iteration of the DATABASE_REVISION with each while-loop run. To permit the iteration if there goes something wrong with the update I've added an break into this loop, see the attached patch. There is room for optimization, maybe you could move the $sql->CompleteTrans?() and unset($queryArray) before the if-clause.