getAll and getRange count needs to be smaller than 2^32 -1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- database
Research direction
Start by tracing the getAll and getRange entry points and compare their count handling with the supported 0 to 2^32 - 1 range described in the linked MDN documentation. Reproduce the reported error with an out-of-range count, then verify that the resulting behavior handles the documented limit without the unsigned-long range error.
Written by the indexing model from the issue text.
Description
if count is greater than 2^32, there will be error like this:
Failed to execute 'getAll' on 'IDBObjectStore': Value is outside the 'unsigned long' value range.
based on MDB doc, the supported count range is between 0 to 2^32 -1 (inclusive)
https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll#count
- Dominant language
- TypeScript
- Stars
- 15
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/ObjectStoreProvider
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/ObjectStoreProvider#43 · 1 comment ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in microsoft/ObjectStoreProvider
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fil-donadoni/tolaria#4409 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·