isar / isar/hive

[web] Get data not finished

Open
#769 2 comments 0 reactions 0 assignees View on GitHub
problem
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

**Steps to Reproduce**

In firefox, delete box may incorrect, is some cases removes only object store, but database not deleted.

![image](https://user-images.githubusercontent.com/14288495/131045641-f5692af3-5c05-4492-b3b8-e33831f310dc.png)

Next read of this table will freezed future. When hive [opening box](https://github.com/hivedb/hive/blob/814594978426509290f67638b4a85039644f1570/hive/lib/src/backend/js/backend_manager.dart#L16) object store not create again. And when hive [try to read](https://github.com/hivedb/hive/blob/814594978426509290f67638b4a85039644f1570/hive/lib/src/backend/js/storage_backend_js.dart#L107) value throwing error: ` NotFoundError: IDBDatabase.transaction: 'box' is not a known object store name`

**Version**
- Platform: Web
- Flutter version: 2.2.3
- Hive version: 2.0.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.