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

Error when deleting active comment #17947

Open
nekosaur opened this issue Feb 18, 2025 · 0 comments
Open

Error when deleting active comment #17947

nekosaur opened this issue Feb 18, 2025 · 0 comments
Labels
type:bug This issue reports a buggy (incorrect) behavior.

Comments

@nekosaur
Copy link

📝 Provide detailed reproduction steps (if any)

  1. Go to https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration.html and get a unique url
  2. Go to that unique url in a second tab
  3. In the first tab, select the first comment as if you want to write a reply
  4. In the second tab, delete the header that has the first comment

✔️ Expected result

No errors

❌ Actual result

The first tab which had selected the comment that was just deleted, gets an error in the console and the editor reloads.

collection.js:567 Uncaught (in promise) CKEditorError: collection-remove-404
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-collection-remove-404
    at _f._remove (collection.js:567:19)
    at _f.remove (collection.js:182:36)
    at _f.remove (viewcollection.js:196:22)
    at tr.<anonymous> (commentsarchiveui.js:23:5208)
    at tr.fire (emittermixin.js:145:28)
    at tr._remove (collection.js:574:14)
    at tr.remove (collection.js:182:36)
    at HP.<anonymous> (commentsarchive.js:23:2950)
    at HP.fire (emittermixin.js:145:28)
    at HP.set [as archivedAt] (observablemixin.js:72:30)

📃 Other details

  • Browser: Chrome
  • OS: Linux
  • First affected CKEditor version: N/A
  • Installed CKEditor plugins: N/A
@nekosaur nekosaur added the type:bug This issue reports a buggy (incorrect) behavior. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

1 participant