Browse Cards and Add Card hide database corruption behind a generic error

Aperta
#23,159 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
databases, mobile

Direzione di ricerca

Start by tracing the deck menu actions for Browse Cards and Add Card, then follow how database corruption is reported and how the recovery dialog is opened. The issue does not name files or tests, so locate the relevant action and error handling first. Done means corruption is recorded and the recovery dialog opens for both actions instead of showing only a generic error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

If the database is corrupt when Browse Cards or Add Card is chosen from a deck's menu, the user sees a plain error message. The database recovery dialog never opens and the corruption isn't recorded, so the recovery options are lost.

  • Found by David while reviewing #22504
Lingua principale
Kotlin
Stelle
12.3k
Fork
3.1k
Merge medio
1g 11h
PR unite (30g)
383

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ankidroid/Anki-Android

Tutte le issue di ankidroid/Anki-Android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.