-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Labels
Description
Checked for duplicates?
- This issue is not a duplicate
Does it also happen in the desktop version?
- This bug does not occur in the latest version of Anki Desktop
What are the steps to reproduce this bug?
See #19692.
Accessing the collection object to pass into repairCollection necessarily requires opening the database (such as using withCol scope), which will throw an exception if the collection is corrupt.
Expected behaviour
The database should not be reopened before attempting to repair it.
Debug info
AnkiDroid Version = 2.23.0beta4-debug (157b0d4eb4e460a5f586ab100bfe5599787833b4)
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 12 (SDK 31)
ProductFlavor = play
Device Info = Google | google | emulator64_x86_64_arm64 | sdk_gphone64_x86_64 | sdk_gphone64_x86_64 | ranchu
Webview User Agent = Mozilla/5.0 (Linux; Android 12; sdk_gphone64_x86_64 Build/SE1A.220826.008; wv)
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36
ACRA UUID = 01740369-f187-4b20-9c77-b74dcf57bfd5
FSRS = 5.1.0 (Enabled: null)
Crash Reports Enabled = false
(Optional) Anything else you want to share?
No response
Research
- I have checked the manual and the FAQ and could not find a solution to my issue
- (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
david-allison