Skip to content

Safari Failed to execute 'transaction' #850

@woutervanwijk

Description

@woutervanwijk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemAn unconfirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions