Status rendering crashes on an old post I made
Environment
- Installation type:
-
OTP -
From source
-
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE):
[error] #PID<0.2017.0> running Pleroma.Web.Endpoint (connection #PID<0.2016.0>, stream id 1) terminated
Server: patch.cx:80 (http)
Request: GET /api/v1/statuses/9pLmYYCgp7PcRg4m8m
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in anonymous fn/1 in Pleroma.Web.MastodonAPI.StatusView.render/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:304: anonymous fn({":oof:", ["https://skippers-bin.com/users/7v1w1r8ce6"]}) in Pleroma.Web.MastodonAPI.StatusView.render/2
(elixir) lib/enum.ex:1340: anonymous fn/3 in Enum.map/2
(stdlib) maps.erl:232: :maps.fold_1/3
(elixir) lib/enum.ex:1964: Enum.map/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:304: Pleroma.Web.MastodonAPI.StatusView.render/2
(phoenix) lib/phoenix/view.ex:410: Phoenix.View.render_to_iodata/3
(phoenix) lib/phoenix/controller.ex:729: Phoenix.Controller.__put_render__/5
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.instrument/4
(phoenix) lib/phoenix/controller.ex:746: Phoenix.Controller.instrument_render_and_send/4
(pleroma) lib/pleroma/web/controller_helper.ex:94: Pleroma.Web.ControllerHelper.try_render/3
(pleroma) lib/pleroma/web/mastodon_api/controllers/status_controller.ex:5: Pleroma.Web.MastodonAPI.StatusController.action/2
(pleroma) lib/pleroma/web/mastodon_api/controllers/status_controller.ex:5: Pleroma.Web.MastodonAPI.StatusController.phoenix_controller_pipeline/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.instrument/4
(phoenix) lib/phoenix/router.ex:288: Phoenix.Router.__call__/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.plug_builder_call/2
(pleroma) lib/plug/debugger.ex:130: Pleroma.Web.Endpoint."call (overridable 3)"/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.call/2
(phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:42: Phoenix.Endpoint.Cowboy2Handler.init/4
(cowboy) /home/patch-pleroma/pleroma/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
(cowboy) /home/patch-pleroma/pleroma/deps/cowboy/src/cowboy_stream_h.erl:320: :cowboy_stream_h.execute/3
(cowboy) /home/patch-pleroma/pleroma/deps/cowboy/src/cowboy_stream_h.erl:302: :cowboy_stream_h.request_process/3
- Elixir version (
elixir -v
for from source installations, N/A for OTP):
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]
Elixir 1.9.2 (compiled with Erlang/OTP 22)
- Operating system: Alpine Linux
- PostgreSQL version (
postgres -V
): 12.2
Bug description
Edited by rinpatch