Skip to content

Unable to close/resolve report if the actor's account is deactivated

Environment

  • Installation type (OTP or From Source):
    • The virgin OTP install
    • The chad source install
  • Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 31ec5cd3
  • Elixir version (elixir -v for from source installations, N/A for OTP):
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:24:24] [ds:24:24:10] [async-threads:1] [jit:ns]

Elixir 1.13.4 (compiled with Erlang/OTP 25)
  • Operating system: Ubuntu Pro 22.04
  • PostgreSQL version (psql -V): 15.3

Bug description

I had a report from a local user about a remote user. The local user had deactivated their account shortly after making the report.

I could not mark the report closed or resolved until I re-activated the account that made the report. At which time I was able to mark the report resolved.

Interesting the API was returning a 404 when trying to change the state of a report with the actor's account deactivated.