bug: while I am trying to clear data, getting sql exception.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
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.
Written by the indexing model from the issue text.
Description
What happened?
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
- Dominant language
- Dart
- Stars
- 58
- Forks
- 15
- Avg merge
- 18h 9m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PATILYASHH/XPENC
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PATILYASHH/XPENC#179 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
PATILYASHH/XPENC#180 ·
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 10/100
PATILYASHH/XPENC#178 ·
-
INBETA
Difficulty 5/5 Over a week Newbie friendliness 35/100
PATILYASHH/XPENC#177 · 6 comments ·
-
feat: Auto TransfersOpenenhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
PATILYASHH/XPENC#176 · 7 comments · 1 reaction ·
All issues in PATILYASHH/XPENC
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Docs: correct the unbuilt "full re-verify" claim and three untrue sync commentsPossibly taken @ibanner56 claimed this today. Openarea: sync priority: low severity: trivial type: docs
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ibanner56/CallersCompendium#1942 ·
Maintainers usually reply within 1 day
-
[Bug]: 编辑器替换栏关闭按钮错位Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
appshubcc/Bettbox#584 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
transistorsoft/flutter_background_geolocation#1724 · 1 comment ·
-
bug UI: Fluent
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Notsfsssf/pixez-flutter#1430 ·
Maintainers usually reply within 1 day