Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

bug: while I am trying to clear data, getting sql exception.

Aperta
#175 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter, sqlite
Ambito
database, mobile

Direzione di ricerca

Start at the Settings → Data → Clear all data flow and inspect the attached screenshot and the SQL exception it shows. Trace how this action deletes data and which foreign key constraint fails; the issue does not name source files or tests, so first locate the clear data entry point. Done means confirming deletion clears all data without an exception, including when a person has an unsettled amount.

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

Descrizione

INBETA
What happened?
Image

While I am trying to clear the data, but getting the sql exception. I am thinking that it is a bug, if not sorry for this. If it is bug then displaying meaningful error msg will be good looking as a user perspective. For example like "person amount is not settled, please settle the amount and clear data or something". Or else anyway we are getting confirmation popup after clicking clear data and mentioned about backup, that's fine. If user is ok with that then he is aware of that unsettled amount.

Expectation: once user confirm to delete, then it should clear all the data without any exception/msg as per my understanding. It should not throw any foreign key constraint exception.

Path: More -> Settings -> Data -> Clear all data

Note: If it is not a bug kindly ignore request 🙂.

XPENC version

1.6.4

Device & Android version

Realme Gt & Android version 14

If SMS-capture related — the redacted message

Checklist
  • I searched existing issues and this is not a duplicate
  • I am on the latest release
Lingua principale
Dart
Stelle
58
Fork
15
Merge medio
18h 9m
PR unite (30g)
1

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 PATILYASHH/XPENC

Tutte le issue di PATILYASHH/XPENC

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.