Broken MRF section in Admin FE, can't dump config via cli
Hello,
Somewhere after commit 4c5b45ed, a bug was introduced that breaks MRF Policies.
I tried to dump the config via CLI but received the following error:
# docker-compose run --rm web mix pleroma.config dump pleroma
Creating pleroma_web_run ... done
** (EXIT from #PID<0.94.0>) shutdown: failed to start child: Pleroma.Config.TransferTask
** (EXIT) an exception was raised:
** (ArgumentError) errors were found at the given arguments:
* 1st argument: not an already existing atom
:erlang.binary_to_existing_atom("Elixir.Pleroma.Web.Endpoint.MetricsExporter", :utf8)
(pleroma 2.6.50-266-g7622a839) lib/pleroma/config_db.ex:345: Pleroma.ConfigDB.string_to_elixir_types/1
(pleroma 2.6.50-266-g7622a839) lib/pleroma/ecto_type/config/atom.ex:21: Pleroma.EctoType.Config.Atom.load/1
(ecto 3.10.3) lib/ecto/type.ex:911: Ecto.Type.process_loaders/3
(ecto 3.10.3) lib/ecto/repo/queryable.ex:411: Ecto.Repo.Queryable.struct_load!/6
(ecto 3.10.3) lib/ecto/repo/queryable.ex:243: anonymous fn/5 in Ecto.Repo.Queryable.preprocessor/3
(elixir 1.12.3) lib/enum.ex:1582: Enum."-map/2-lists^map/1-0-"/2
(elixir 1.12.3) lib/enum.ex:1582: Enum."-map/2-lists^map/1-0-"/2
ERROR: 1