Skip to content

Review not marked as outdated after file deletion #5417

Closed
@iyzana

Description

@iyzana
  • Gitea version (or commit ref): 1.11.0+dev-120-gac6accef0 (exists since 0da8bc9 / tag v1.6.0)
  • Git version: 2.15.3
  • Operating system: gitea docker container
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Steps to reproduce:

  • create a new pr, which adds a new file
  • add a review to that file
  • delete the file again

Repro url: https://try.gitea.io/succcubbus/review-deletion-outdated-repro/pulls/3

Expected:

  • review is marked as outdated

Actual:

  • review is still shown fully

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions