Safari Failed to execute 'transaction'
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
**Steps to Reproduce**
Running an app with Hive (thanks btw, great!) gives this error when running the web-version in Safari, not in Firefox and Chrome:
"Unhandled Promise Rejection: NotFoundError: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found."
This was also reported in #812 But that was only closed because the submitter removed Hive.
**Code sample**
```
var box = await Hive.openBox('abc');
box.put('abc', 'cde');
```
and run the web-version in Safari
**Version**
- Platform: Web, Safari
- Flutter version: 2.5.3
- Hive version: hive: ^2.0.4 and hive_flutter: ^1.1.0
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by reproducing the provided Hive.openBox example in Safari and compare it with Firefox and Chrome; investigate the web storage behavior behind the missing object store. Done means the sample opens and writes successfully in Safari without regressing the other browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- database, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100