Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOMException: Failed to execute 'transaction' on 'IDBDatabase' #13

Open
efast1568 opened this issue Jun 5, 2023 · 1 comment
Open
Labels

Comments

@efast1568
Copy link
Contributor

Bug description

An error occurs when browsing through multiple pages of comments, and there is a chance that editing the comments cannot be executed.

image

image

`default-d06c0baa.js:24  Uncaught (in promise) DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
    at https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:463877
    at new Promise (<anonymous>)
    at F (https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:463846)
    at oe (https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:466627)
    at https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:469312
    at Array.map (<anonymous>)
    at https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:469304
    at pe (https://waterhole.subarist.net/storage/js/default-d06c0baa.js:24:469345)
(匿名) @ default-d06c0baa.js:24
F @ default-d06c0baa.js:24
oe @ default-d06c0baa.js:24
(匿名) @ default-d06c0baa.js:24
(匿名) @ default-d06c0baa.js:24
pe @ default-d06c0baa.js:24
await in pe (非同步)
_init @ default-d06c0baa.js:24
await in _init (非同步)
he @ default-d06c0baa.js:24
_dbCreate @ default-d06c0baa.js:24
(匿名) @ default-d06c0baa.js:24
Promise.then (非同步)
_dbFlush @ default-d06c0baa.js:24
Jt @ default-d06c0baa.js:24
replaceCurrentPermanentElementWithClone @ default-d06c0baa.js:1
leave @ default-d06c0baa.js:1
preservingPermanentElements @ default-d06c0baa.js:1
await in preservingPermanentElements (非同步)
preservingPermanentElements @ default-d06c0baa.js:1
replaceBody @ default-d06c0baa.js:15
render @ default-d06c0baa.js:15
renderSnapshot @ default-d06c0baa.js:1
render @ default-d06c0baa.js:1
await in render (非同步)
renderPage @ default-d06c0baa.js:15
(匿名) @ default-d06c0baa.js:15
render @ default-d06c0baa.js:15
await in render (非同步)
loadResponse @ default-d06c0baa.js:15
visitRequestCompleted @ default-d06c0baa.js:15
recordResponse @ default-d06c0baa.js:15
requestSucceededWithResponse @ default-d06c0baa.js:15
await in requestSucceededWithResponse (非同步)
receive @ default-d06c0baa.js:1
perform @ default-d06c0baa.js:1
await in perform (非同步)
issueRequest @ default-d06c0baa.js:15
visitStarted @ default-d06c0baa.js:15
start @ default-d06c0baa.js:15
startVisit @ default-d06c0baa.js:15
visitProposedToLocation @ default-d06c0baa.js:15
visitProposedToLocation @ default-d06c0baa.js:15
proposeVisit @ default-d06c0baa.js:15
visit @ default-d06c0baa.js:15
followedLinkToLocation @ default-d06c0baa.js:15
K.clickBubbled @ default-d06c0baa.js:1
`

Steps to reproduce

N/A

Logs

N/A

Environment

N/A
@tobyzerner
Copy link
Member

Thanks for the report @efast1568. It would be helpful if you could follow the bug report template in the future, as steps to reproduce are relevant here, as is your environment (browser version).

I was able to reproduce this error but only after playing around for a while. Steps for reproduction are:

  1. Log in (this error only occurs while logged in)
  2. Navigate to a post with multiple pages of comments
  3. Click between pages in the pagination bar to trigger the error

The error is related to the <emoji-picker> element present in the comment text editor (hence why it only occurs while logged in). I have reported a bug upstream: nolanlawson/emoji-picker-element#329

chance that editing the comments cannot be executed

Not sure what you mean here, but I haven't been able to reproduce this part, and it's unlikely that the console error is related.

@tobyzerner tobyzerner changed the title When there are multiple pages of comments in the article, an error occurs. DOMException: Failed to execute 'transaction' on 'IDBDatabase' Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants