Unhandled rejection: UnknownError: Unable to open cursor
Add a row: it works.
Contributor guide
Tech stack
javascript
Domain
frontend
Issue type
bug
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-3 hours
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
mostly clear
Prerequisites
basic knowledge of IndexedDBunderstanding of Dexie.js API
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
40
Research direction
Investigate the `uniqueKeys()` method implementation in Dexie.js, likely in the `src/` directory. The bug occurs in Safari when the database is empty, suggesting a browser specific issue with opening cursors. Check how `uniqueKeys()` uses IndexedDB's `openCursor` and whether Safari handles empty stores differently. Review any existing comments in the issue for hints, and test with a minimal reproduction using Safari's WebDriver or local testing.