Baseflow / Baseflow/flutter_cache_manager
DatabaseException
- Lingua principale
- Dart
- Stelle
- 809
- Fork
- 510
- Merge medio
- 6m
- PR unite (30g)
- 1
Descrizione
## 🐛 Bug Report
Call the DefaultCacheManager().emptyCache() method to report an error
err:DatabaseException(attempt to write a readonly database - SQLITE_READONLY_DBMOVED (Sqlite code 1032), (OS error - 2:No such file or directory)) sql 'DELETE FROM cacheObject WHERE _id IN (1)' args []
### Expected behavior
### Reproduction steps
### Configuration
**Version:cached_network_image: ^3.1.0 flutter_cache_manager: ^3.1.2
**Platform:**
- [ ] :iphone: iOS
- [*] :robot: Android
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with DefaultCacheManager().emptyCache() on Android using cached_network_image 3.1.0 and flutter_cache_manager 3.1.2, then trace the SQLite DELETE that reports SQLITE_READONLY_DBMOVED. The issue provides no reproduction steps or named files/tests; done means identifying the cause and confirming that emptyCache() works without the DatabaseException.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart, flutter, sqlite
- Ambito
- databases, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100