[gui] Setting review status on multiple reports without returning to report list does not put "false positive" reports under "CLOSED" directory

未关闭
#4,331 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 8 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

Start by reproducing in the CodeChecker web GUI: open a source file with several UNREVIEWED reports, set one to FALSE POSITIVE, save, then pick another report without leaving the file view. The payload names no files, so locate the code that refreshes the left-hand bug tree after a review status save. Done when every false positive lands in the Closed directory after repeated saves, not just the first.

由索引模型根据 Issue 内容生成。

描述

bug :bug: good to go :rocket: GUI :art:

Describe the bug
When changing the review status of a bug to something like "false positive", it is moved into the Closed directory, but ONLY for the first such closed bug.

CodeChecker version
6.24.0

To Reproduce
Steps to reproduce the behaviour:

  1. Open a report from a file that has more than 1 reports.
  2. Suppose all of them have review status "UNREVIEWED" and are in the Outstanding directory.
  3. Click on the review status drop-down and select something else, like "FALSE POSITIVE".
  4. Save the status change.
  5. The LHS bug tree refreshes and now the bug we just changed is moved to the Closed directory.
  6. Select another bug from the Outstanding directory.
  7. Repeat steps 3 and 4.
  8. Step 5 now does not happen, and there is a "FALSE POSITIVE" bug report in the Outstanding directory.
  9. GOTO 6

Expected behaviour
Reports are re-organised consistently.

Desktop (please complete the following information)

  • OS: Ubuntu 22.04
  • Browser: Firefox
  • Version: 123
主要语言
Python
星标
2.6k
派生
494
平均合并
6 天 13 小时
30 天内合并 PR
18

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Ericsson/codechecker 的其他 Issue

查看 Ericsson/codechecker 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。