You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Request:
When database is corrupted in way that integrity check returns not ok restore db doesn't work.
Description:
In DatabaseHelperDelegate.restoreBackup there is a bug related to get proper file names. Instead of X.getDatabaseName() inside FlowManager.getContext().getDatabasePath() there should be X.getDatabaseFileName()
also, I think temp database name should contains the same extention and code needs changes:
and last thing. In restoreBackup system should close database before file copy. In other case after reopen there will be a problem with still opened corrupted db.
Kind regards, Krzysztof
The text was updated successfully, but these errors were encountered:
DBFlow Version: 4.2.4
Bug Request:
When database is corrupted in way that integrity check returns not ok restore db doesn't work.
Description:
In DatabaseHelperDelegate.restoreBackup there is a bug related to get proper file names. Instead of X.getDatabaseName() inside FlowManager.getContext().getDatabasePath() there should be X.getDatabaseFileName()
also, I think temp database name should contains the same extention and code needs changes:
and last thing. In restoreBackup system should close database before file copy. In other case after reopen there will be a problem with still opened corrupted db.
Kind regards, Krzysztof
The text was updated successfully, but these errors were encountered: