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

a bug about attach document? #383

Closed
CharlesSampson44 opened this issue Sep 9, 2022 · 1 comment
Closed

a bug about attach document? #383

CharlesSampson44 opened this issue Sep 9, 2022 · 1 comment
Labels
bug 🐞 Something isn't working

Comments

@CharlesSampson44
Copy link

What happened:When I open 2 browsers tab, I attach documents doc1,doc2 on same client in the first tab, and I attach documents doc1,doc3 on same client in the second tab, the first tab will throw an error:
Uncaught TypeError: Cannot read properties of undefined (reading 'peerPresenceMap')
at _Client.handleWatchDocumentsResponse (context.ts:637:1)
at Array. (context.ts:637:1)
at qc. (index.js:5:1)
at Jb (index.js:5:1)
at O (index.js:5:1)
at Ac (index.js:5:1)
at n.W (index.js:5:1)
at n.R (index.js:5:1)

What you expected to happen:no error happend

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Operating system:
  • Browser and version:
  • Yorkie version (use yorkie version):2.0.15
  • Yorkie JS SDK version:2.0.16
@hackerwins hackerwins added the bug 🐞 Something isn't working label Sep 10, 2022
@chacha912
Copy link
Contributor

chacha912 commented Mar 6, 2023

The issue has been fixed with the implementation of yorkie-team/yorkie#463.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants