dream-num / univer

Univer is an open-source productivity tool dev kit helping you integrate spreadsheets, docs and slides into your applications.
https://univer.ai
Apache License 2.0
6.61k stars 566 forks source link

[Bug] When multiple people collaborate, using backspace to delete multiple rows of data will cause errors when the operation is synchronized to other users. #3529

Closed LiuYuLu closed 2 hours ago

LiuYuLu commented 2 hours ago

在您提交此问题之前,您是否检查了以下内容?

受影响的包和版本

0.2.15

复现链接

bug发生的原因是ws 消息体过大,导致ws服务端无法处理,希望能够在command指令能给出大小,屏蔽过大的操作。

image

预期行为

ws 可正常工作

实际行为

ws 无法正常工作

运行环境

No response

系统信息

No response

univer-bot[bot] commented 2 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] 多人协作时,使用backspace删除多行数据,会导致操作同步至其他用户时发生错误

Title: [Bug] When multiple people collaborate, using backspace to delete multiple rows of data will cause errors when the operation is synchronized to other users.


Before you submitted this question, did you check the following?

Affected packages and versions

0.2.15

Recurrence link

The reason for the bug is that the ws message body is too large and cannot be processed by the ws server. We hope that the size can be given in the command instruction to block operations that are too large.

image

Expected behavior

ws works fine

Actual behavior

ws not working properly

Running environment

No response

System information

No response

jikkai commented 2 hours ago

If you choose to implement collaboration features using WebSockets independently, please note that Univer will not preprocess user data. You will need to implement any necessary data handling within your own implementation.

Should you encounter issues when utilizing Univer's collaborative services, kindly provide us with sufficient details about the problem you are experiencing to enable us to provide appropriate support.