mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 20:53:04 -04:00
Some checks failed
/ release (push) Has been cancelled
testing-integration / test-unit (push) Has been cancelled
testing-integration / test-sqlite (push) Has been cancelled
testing-integration / test-mariadb (v10.6) (push) Has been cancelled
testing-integration / test-mariadb (v11.8) (push) Has been cancelled
testing / backend-checks (push) Has been cancelled
testing / frontend-checks (push) Has been cancelled
testing / test-unit (push) Has been cancelled
testing / test-e2e (push) Has been cancelled
testing / test-remote-cacher (redis) (push) Has been cancelled
testing / test-remote-cacher (valkey) (push) Has been cancelled
testing / test-remote-cacher (garnet) (push) Has been cancelled
testing / test-remote-cacher (redict) (push) Has been cancelled
testing / test-mysql (push) Has been cancelled
testing / test-pgsql (push) Has been cancelled
testing / test-sqlite (push) Has been cancelled
testing / security-check (push) Has been cancelled
When opening the report details page of a reported comment who's poster was meanwhile deleted, the title was wrongly saying that _Reported content with type 4 and id ... no longer exists_ (on the overview page the title was correctly showing the content reference). This PR fixes the issue and adds some tests for this case. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10199 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: floss4good <floss4good@disroot.org> Co-committed-by: floss4good <floss4good@disroot.org>
23 lines
569 B
YAML
23 lines
569 B
YAML
-
|
|
id: 1001
|
|
repo_id: 1001 # contributor/first
|
|
index: 1
|
|
poster_id: 1001
|
|
name: first repo should have a first issue
|
|
content: so here we go
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 2
|
|
created_unix: 1121422320 # 2005-07-15 10:12:00
|
|
|
|
-
|
|
id: 1002
|
|
repo_id: 1002 # SPAM-services/spammer-tools
|
|
index: 1
|
|
poster_id: 1002
|
|
name: Professional marketing services
|
|
content: Visit my website at spammer.xyz/services for a list of available services.
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 0
|
|
created_unix: 1121422980 # 2005-07-15 10:23:00
|