Skip to content

Note appears as being attached to a deleted block when two users add them at exactly the same moment using real-time collaboration #74751

@smithjw1

Description

@smithjw1

Description

This may be hard to replicate, but two Notes were placed on the same block within 0.02 seconds of each other.

The first Note is being shown as being attached to a block that is deleted, even though the block remains, and is showing the second comment.

Step-by-step reproduction instructions

  1. Open a post up with real-time collaboration enabled.
  2. Have another collaborator join the post.
  3. Attempt to add a Note on the same block at the same time.

It may be necessarily to purposely delay replication of real-time collaboration changes to allow for better testing.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Labels

[Feature] NotesPhase 3 of the Gutenberg roadmap around block commenting[Feature] Real-time CollaborationPhase 3 of the Gutenberg roadmap around real-time collaboration[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions