cookieY / Yearning

🐳 A most popular sql audit platform for mysql
http://next.yearning.io/
GNU Affero General Public License v3.0
8.53k stars 2k forks source link

[Question] 在审核也没重复点击审核会造成审核页面500 #1100

Closed ashajia closed 2 weeks ago

ashajia commented 2 months ago

描述问题 清晰而简洁地描述你遇到的问题

复现 重现该行为的步骤: 版本:3.1.8

  1. 在审核也没重复点击检测并审核
  2. 退出也没再重新进入会报500
  3. 日志报:index out of range [3] with length 3
  4. 上个版本就有的问题,之前提过issue

期望的结果 清晰而简洁地描述你希望得到的结果

截图

image

部署方式

Issues-translate-bot commented 2 months ago

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


Title: [Question] Clicking the review button repeatedly during review will result in a review page of 500

Describe the problem Clearly and concisely describe the problem you encountered

Recurrence Steps to reproduce the behavior: Version: 3.1.8

  1. During the review, click Detect and Review again.
  2. After exiting and not re-entering again, 500 will be reported.
  3. Log report: index out of range [3] with length 3
  4. Issues that existed in the previous version were raised before.

Desired results Clearly and concisely describe the results you hope to achieve

screenshot

image

Deployment method

cookieY commented 3 weeks ago

是普遍现象还是就这一个单子? 直接二进制部署还是源代码自编译部署?

Issues-translate-bot commented 3 weeks ago

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


Is it a common phenomenon or just this one? Direct binary deployment or source code self-compiled deployment?

ashajia commented 3 weeks ago

二进制直接部署,只要单子需要同一个人同时审核两次,会复现。

Issues-translate-bot commented 3 weeks ago

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


Binary direct deployment will recur as long as the order needs to be reviewed twice by the same person at the same time.

cookieY commented 3 weeks ago

同时审核两次的意思是 连续 2 个阶段都是同一个审核人 还是快速点击审核了两次? 是否可以告知下具体的复现步骤

Issues-translate-bot commented 3 weeks ago

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


Does being reviewed twice at the same time mean that it was the same reviewer for two consecutive stages, or that it was reviewed twice quickly? Can you please tell me the specific steps to reproduce it?

ashajia commented 3 weeks ago

我这边设置的是两级审核,如果两级审核中都包含同一个审核人。 当这个审核人在同一个审核页面重复点击两次【同意】按钮时会复现这个问题,不需要快速点击,只要当前页面不关闭就会复现 image

Issues-translate-bot commented 3 weeks ago

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


What I set up here is a two-level review, if the same reviewer is included in both levels of review. This problem will recur when the reviewer clicks the [Agree] button twice on the same review page. There is no need to click quickly. It will recur as long as the current page is not closed. image

cookieY commented 2 weeks ago

最新版本已修复

Issues-translate-bot commented 2 weeks ago

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


The latest version has been fixed