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

[bug] multiple times generating approval slips #7892

Closed
1 of 2 tasks
fdf1779 opened this issue Apr 21, 2023 · 4 comments · Fixed by #7897
Closed
1 of 2 tasks

[bug] multiple times generating approval slips #7892

fdf1779 opened this issue Apr 21, 2023 · 4 comments · Fixed by #7897
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@fdf1779
Copy link

fdf1779 commented Apr 21, 2023

What happened

偶然间点击快了一些发现在重复点击时
image

会出现数据重复写入的BUG
image

当然对于该项目的重点可能没影响

What you expected to happen

虽然并发请求可能不大,但是希望在处理并发请求时能够有一些操作

How to reproduce

1.6.0

Environment

No response

InLong version

master

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@fdf1779 fdf1779 added the type/bug Something is wrong label Apr 21, 2023
@dockerzhang
Copy link
Contributor

@fuweng11 PTAL

@fuweng11
Copy link
Contributor

I will deal with this problem.

@fuweng11
Copy link
Contributor

@fhj123456789 Please use English.

@dockerzhang dockerzhang changed the title manager后端在处理并发或者重复请求时会导致数据重复写入问题[Bug] [bug] multiple times generating approval slips Apr 23, 2023
@dockerzhang dockerzhang added this to the 1.7.0 milestone Apr 23, 2023
@fdf1779
Copy link
Author

fdf1779 commented Apr 23, 2023

@fhj123456789 Please use English.

Thank you very much for your response. This issue occurred when I clicked to submit for approval. Firstly, the front-end component was not set to disable after clicking. After multiple clicks at the same time, the backend approval event would be written multiple times. Although this issue does not affect the use of InLong, I still hope to optimize the operation interface provided by the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
3 participants